Commit c40da1fb authored by Qingyu Deng's avatar Qingyu Deng

fix: role authentication control

parent f832d6f1
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
}, },
computed: { computed: {
permission() { permission() {
let rolePermissionId = this.role || "role"; let rolePermissionId = this.rolePermissionId || "role";
let appId = this.appId || ""; let appId = this.appId || "";
const modulePermissions = const modulePermissions =
this.$store.getters.moduleSubPermissions(rolePermissionId, appId) || []; this.$store.getters.moduleSubPermissions(rolePermissionId, appId) || [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment