zhengnaiwen_citu 1 週間 前
コミット
e39b279127
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/store/modules/user.js

+ 1 - 1
src/store/modules/user.js

@@ -41,7 +41,7 @@ const actions = {
         // commit('SET_SINGLE_SIGN_ON', 0)
         setToken(data.token)
         // const { username, name, id, employeeCode } = data.user
-        commit('SET_USERINFO', data.user)
+        commit('SET_USERINFO', data)
         resolve()
       }).catch(err => { reject(err) })
     })