Procházet zdrojové kódy

fix: 关闭图形验证请求+角色权限展开过滤功能权限

sunhongyao341504 před 2 roky
rodič
revize
67dbedb305

+ 1 - 1
src/views/login/LoginForm2.vue

@@ -246,7 +246,7 @@
             } else router.replace(toPath);
           } else {
             formInline.verCode = '';
-            getCaptcha();
+            // getCaptcha();
             ElMessage({
               message: msg || '登录失败',
               type: 'error',

+ 1 - 1
src/views/system/role/role.vue

@@ -184,6 +184,6 @@
 
   onMounted(async () => {
     const list = await permissionList();
-    treeData.value = list;
+    treeData.value = list.filter((item) => item.label !== '功能权限');
   });
 </script>