From e1023bb3313282b00d6dcdefd5d7e30d7aaa1bfc Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 30 十一月 2023 11:13:29 +0800 Subject: [PATCH] update 优化 代码中存在的警告 --- src/directive/permission/index.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/directive/permission/index.ts b/src/directive/permission/index.ts index 0bdc1c7..7e9ddeb 100644 --- a/src/directive/permission/index.ts +++ b/src/directive/permission/index.ts @@ -17,7 +17,7 @@ return false; } } else { - throw new Error("check perms! Like v-has-permi=\"['sys:user:add','sys:user:edit']\""); + throw new Error("check perms! Like v-has-permi=\"['system:user:add','system:user:edit']\""); } } }; -- Gitblit v1.9.3