Skip to content

Commit fec841d

Browse files
author
QM303176530
committed
增加表格内icon
1 parent 18d2967 commit fec841d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/src/view/superAdmin/menu/menu.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</el-table-column>
2424
<el-table-column label="图标" min-width="140" prop="authorityName">
2525
<template slot-scope="scope">
26+
<i :class="`icon el-icon-${scope.row.meta.icon}`"></i>
2627
<span>{{scope.row.meta.icon}}</span>
2728
</template>
2829
</el-table-column>

0 commit comments

Comments
 (0)