-
后端页面访问权限演示
+
+ {{ accessMode === 'frontend' ? '前端' : '后端' }}页面访问权限演示
+
切换不同的账号,观察按钮变化。
-
-
-
- 当前账号:
-
- {{ accessStore.userRoles }}
-
-
-
-
-
-
-
+
+
+ 当前账号:
+
+ {{ accessStore.userRoles }}
+
-
-
组件形式控制
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
函数形式控制
-
-
-
-
+
+
+
组件形式控制
+
+ Super 账号可见 ["AC_1000001"]
+
+
+ Admin 账号可见 ["AC_100010"]
+
+
+ User 账号可见 ["AC_1000001"]
+
+
+
Super & Admin 账号可见 ["AC_100100","AC_1000001"]
-
-
+
+
+
+
+
函数形式控制
+
+ Super 账号可见 ["AC_1000001"]
+
+
+ Admin 账号可见 ["AC_100010"]
+
+
+ User 账号可见 ["AC_1000001"]
+
+
+ Super & Admin 账号可见 ["AC_100100","AC_1000001"]
+
+
diff --git a/apps/web-antd/src/views/demos/access/menu-visible-403.vue b/apps/web-antd/src/views/demos/access/menu-visible-403.vue
index 2c18601a..9e531cd6 100644
--- a/apps/web-antd/src/views/demos/access/menu-visible-403.vue
+++ b/apps/web-antd/src/views/demos/access/menu-visible-403.vue
@@ -1,7 +1,7 @@
diff --git a/apps/web-antd/src/views/demos/access/super-visible.vue b/apps/web-antd/src/views/demos/access/super-visible.vue
index 9fe4a3b3..61505447 100644
--- a/apps/web-antd/src/views/demos/access/super-visible.vue
+++ b/apps/web-antd/src/views/demos/access/super-visible.vue
@@ -1,7 +1,7 @@
diff --git a/apps/web-antd/src/views/demos/access/user-visible.vue b/apps/web-antd/src/views/demos/access/user-visible.vue
index 38913e5a..835202f1 100644
--- a/apps/web-antd/src/views/demos/access/user-visible.vue
+++ b/apps/web-antd/src/views/demos/access/user-visible.vue
@@ -1,7 +1,7 @@