guhongwei 4 anni fa
parent
commit
ad83b81bcb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
       }