소스 검색

增加表格内icon

QM303176530 4 년 전
부모
커밋
fec841d221
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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>
       <el-table-column label="图标" min-width="140" prop="authorityName">
       <el-table-column label="图标" min-width="140" prop="authorityName">
         <template slot-scope="scope">
         <template slot-scope="scope">
+          <i :class="`icon el-icon-${scope.row.meta.icon}`"></i>
           <span>{{scope.row.meta.icon}}</span>
           <span>{{scope.row.meta.icon}}</span>
         </template>
         </template>
       </el-table-column>
       </el-table-column>