psj 2 years ago
parent
commit
ae263e275e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/home/Login.vue

+ 2 - 1
src/views/home/Login.vue

@@ -211,7 +211,8 @@
                     var role = rows[0].ROLE_CODE;
                     var userkeycode = rows[0]["TEMPUSERKEYCODE"];
                     var role_uuid = rows[0]["ROLE_UUID"];
-                    if(0 != role && 1 != role && 163 != role && 173 != null && 174 != null){
+
+                    if(0 != role && 1 != role && 163 != role && 173 != role && 174 != role){
                         MessageBox.alert('当前用户无登录权限!', '提示', {
                             confirmButtonText: '确定'
                         });