Browse Source

增加表格内icon

QM303176530 4 years ago
parent
commit
fec841d221
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web/src/view/superAdmin/menu/menu.vue

+ 1 - 0
web/src/view/superAdmin/menu/menu.vue

@@ -23,6 +23,7 @@
       </el-table-column>
       <el-table-column label="图标" min-width="140" prop="authorityName">
         <template slot-scope="scope">
+          <i :class="`icon el-icon-${scope.row.meta.icon}`"></i>
           <span>{{scope.row.meta.icon}}</span>
         </template>
       </el-table-column>