From e10f112fa075441b1799fb6c0b61f95ece70d9c7 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期二, 15 八月 2023 13:53:34 +0800
Subject: [PATCH] fix 修复 使用 localStorage 返回值为null问题

---
 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