瀏覽代碼

功能权限遍历

zhuliu 3 年之前
父節點
當前提交
5cac3b4f9a
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/role/index.vue

+ 3 - 2
src/views/role/index.vue

@@ -18,10 +18,10 @@
     >
       <el-table-column prop="name" label="角色名称" align="" show-overflow-tooltip></el-table-column>
       <el-table-column label="功能权限" align="center" show-overflow-tooltip>
-        <!-- <template slot-scope="scope">
+        <template slot-scope="scope">
           <span v-for="item in scope.row.functionList">{{item.name}}
           </span>
-        </template> -->
+        </template>
       </el-table-column>
       <el-table-column label="数据权限" align="center" show-overflow-tooltip>
          <template slot-scope="scope">
@@ -195,6 +195,7 @@ export default {
     handleAdd() {
       this.title = '新增角色'
       this.visible = true
+      this.checkList=[]
       this.ruleForm={
         function:[]
       }