guhongwei 4 years ago
parent
commit
ad83b81bcb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store/adminLogin.js

+ 1 - 1
src/store/adminLogin.js

@@ -39,7 +39,7 @@ const actions = {
     if (res.errcode === 0) {
       localStorage.setItem('token', res.data);
       user = jwt.decode(res.data);
-      if (user.code == 'CGPJXTYW') {
+      if (user.code == 'CGPIXT') {
         commit('setUser', user, { root: true });
         return res;
       }