shuishen
2023-02-10 a66a9f47fe6ae37f347e081669b1ccb29bbbbdfd
src/store/modules/user.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-12-27 09:33:01
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-01-30 11:52:22
 * @LastEditTime: 2023-02-09 10:21:05
 * @FilePath: \srs-police-affairs\src\store\modules\user.js
 * @Description: 
 * 
@@ -38,8 +38,11 @@
                                message: data.error_description,
                                type: "error",
                            })
                            //跳转首页
                            this.$router.push({ path: "/login" })
                        } else if (res.status != 200) {
                            Message({
                                message: '系统异常,请联系管理员',
                                type: "error",
                            })
                        } else {
                            commit("SET_TOKEN", data.access_token)
                            commit('SET_USER_INFO', data)