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

@ -49,7 +49,7 @@
<el-table-column label="用户编号" align="center" prop="userId" />
<el-table-column label="用户类型" align="center" prop="userType">
<template slot-scope="scope">
<span>{{ getDictDataLabel(DICT_TYPE.USER_TYPE, scope.row.userType) }}</span>
<dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/>
</template>
</el-table-column>>
<el-table-column label="应用名" align="center" prop="applicationName" />