鍍金池/ 問答/HTML/ element ui table 怎么解析標(biāo)簽

element ui table 怎么解析標(biāo)簽

clipboard.png

clipboard.png
怎么解析數(shù)據(jù)里面的標(biāo)簽?zāi)亍?/p>

回答
編輯回答
尕筱澄
<el-table-column fixed label="國內(nèi)階段" width="200">
    <template slot-scope="scope">
        <span v-html="scope.row.course"></span>
    </template>
</el-table-column>
<el-table-column label="科目Module" width="546">
    <template slot-scope="scope">
        <span v-html="scope.row.obj"></span>
    </template>
</el-table-column>
2017年2月18日 07:07