lighter 2 年之前
父节点
当前提交
0e436366d3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/store/modules/user.js

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

@@ -82,6 +82,7 @@ const actions = {
     return new Promise((resolve, reject) => {
       loginApi(params).then((res) => {
         commit('tokenChange', res.token)
+        commit('sidChange', res.sid)
         commit('infoChange', res)
         dispatch('getWards').then((infoRes) => {
           resolve(res)