lsc 1 month ago
parent
commit
8fe0bade35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -54,7 +54,7 @@ onMounted(() => {
             let userid = localStorage.getItem('userid')
             let username = localStorage.getItem('username')
             if(isBjt == 1){
-              if (data.currentRole == "edupersonnel" || data.currentRole == "areaAdministrator" || data.currentRole == "userAdministrator" || data.currentRole == "securityAuditor" || data.currentRole == "schoolAdministrator" || data.currentRole == "schoolSecurityAuditor" || data.currentRole == "teacher") {
+              if (r.data.data.currentRole == "edupersonnel" || r.data.data.currentRole == "areaAdministrator" || r.data.data.currentRole == "userAdministrator" || r.data.data.currentRole == "securityAuditor" || r.data.data.currentRole == "schoolAdministrator" || r.data.data.currentRole == "schoolSecurityAuditor" || r.data.data.currentRole == "teacher") {
                 
               } else {
                 top.U.alert("您不是权限用户,请联系管理员授权!");