want to achieve the following effect:
Code
<span>{{scope.row.stock }} / {{scope.row.stock }}</span>
</template>
</el-table-column>
want to achieve the following effect:
Code
<span>{{scope.row.stock }} / {{scope.row.stock }}</span>
</template>
</el-table-column>
F12 open the console
to see what the generated html dom is, so that you know where to change,
lable does not support that html, can only be text, but can this be the main theme of us?
I have come up with a workaround, using css after
give you an effect
https://jsfiddle.net/5nez6qmo/4/
render-header column header Function Function (h, {column, $index} used for Label area rendering)--