瀏覽代碼

Merge branch 'hezhihong_bug修复'

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

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

@@ -163,7 +163,7 @@
         <el-form-item label="角色名称" prop="roleName">
           <el-input v-model="form.roleName" placeholder="请输入角色名称" />
         </el-form-item>
-        <!-- <el-form-item prop="roleKey">
+        <el-form-item prop="roleKey">
           <span slot="label">
             <el-tooltip content="控制器中定义的权限字符,如:@PreAuthorize(`@ss.hasRole('admin')`)" placement="top">
               <i class="el-icon-question"></i>
@@ -171,7 +171,7 @@
             权限字符
           </span>
           <el-input v-model="form.roleKey" placeholder="请输入权限字符" />
-        </el-form-item> -->
+        </el-form-item>
         <el-form-item label="角色顺序" prop="roleSort">
           <el-input-number v-model="form.roleSort" controls-position="right" :min="0" />
         </el-form-item>