From 6e316c9fd2dc6e8af66154c42216349cfff96428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Thu, 14 Jul 2022 07:47:10 +0800 Subject: [PATCH] =?UTF-8?q?perms=E5=AD=98=E6=9D=83=E9=99=90=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/components/passwordForm.vue | 2 +- src/views/wf/state.vue | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/login/components/passwordForm.vue b/src/views/login/components/passwordForm.vue index bc1a8279..48af8fc5 100644 --- a/src/views/login/components/passwordForm.vue +++ b/src/views/login/components/passwordForm.vue @@ -159,7 +159,7 @@ export default { try { var res1 = await this.$API.auth.info.get(); this.$TOOL.data.set("USER_INFO", res1); - this.$TOOL.data.set("PERMISSIONS", res1.perms); + this.$TOOL.data.set("PERMISSIONS", res1.perms.keys()); this.$router.replace({ path: "/", }); diff --git a/src/views/wf/state.vue b/src/views/wf/state.vue index 04f5ceaf..8928028c 100644 --- a/src/views/wf/state.vue +++ b/src/views/wf/state.vue @@ -336,6 +336,9 @@ > + + +