Procházet zdrojové kódy

Merge branch 'dev_1.0.0' of 192.168.10.201:marking-tool/marking-paper-struct-web into dev_1.0.0

chenhao před 2 roky
rodič
revize
72a85be840
1 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. 5 2
      src/pages/user-manage/index.vue

+ 5 - 2
src/pages/user-manage/index.vue

@@ -240,7 +240,10 @@ const userRules = {
 const pwdRules = {
   passwd: [
     { required: true, message: "请填写登录密码" },
-    { pattern: /^[a-zA-Z0-9]{6,18}$/, message: "密码只能由数字、字母组成,长度6-18个字符" },
+    {
+      pattern: /^[a-zA-Z0-9]{6,18}$/,
+      message: "密码只能由数字、字母组成,长度6-18个字符",
+    },
   ],
 };
 
@@ -266,7 +269,7 @@ const columns: TableColumnType[] = [
   { title: "姓名", dataIndex: "name" },
   { title: "登录名", dataIndex: "loginName" },
   { title: "学校", dataIndex: "schoolName", align: "center" },
-  { title: "角色", dataIndex: "roleId" },
+  { title: "角色", dataIndex: "roleName" },
   { title: "更新时间", dataIndex: "updateTime" },
   { title: "状态", dataIndex: "enable" },
   { title: "操作", dataIndex: "operation" },