From 21f3eba195c1f5fba9e7f8382187540ab515a918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=99=8C?= Date: Sun, 11 Jun 2023 22:59:39 +0800 Subject: [PATCH] $ROLE --- src/scui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scui.js b/src/scui.js index e38647e..6e07316 100644 --- a/src/scui.js +++ b/src/scui.js @@ -41,8 +41,8 @@ export default { app.config.globalProperties.$tool = tool; app.config.globalProperties.$http = http; app.config.globalProperties.$api = api; - app.config.globalProperties.$AUTH = permission; - app.config.globalProperties.$ROLE = rolePermission; + app.config.globalProperties.$auth = permission; + app.config.globalProperties.$role = rolePermission; //注册全局组件 app.component('scTable', scTable);