v3.6.0 增加字典标签样式回显

This commit is contained in:
YunaiV
2022-02-16 19:42:21 +08:00
parent 08a35704e9
commit b267b2c347
11 changed files with 32 additions and 83 deletions

View File

@ -45,7 +45,7 @@
</el-table-column>
<el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope">
<span>{{ getDictDataLabel(DICT_TYPE.COMMON_STATUS, scope.row.status) }}</span>
<dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status" />
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime" width="180">