shuishen
2023-02-04 62f9372dd023cae416cf2e3046994dcdf3e26e9c
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-04 17:04:35
 * @FilePath: \srs-police-affairs\src\store\modules\user.js
 * @Description: 
 * 
@@ -33,13 +33,11 @@
                )
                    .then((res) => {
                        const data = res.data
                        if (data.error_description) {
                        if (res.status != 200) {
                            Message({
                                message: data.error_description,
                                message: '系统异常,请联系管理员',
                                type: "error",
                            })
                            //跳转首页
                            this.$router.push({ path: "/login" })
                        } else {
                            commit("SET_TOKEN", data.access_token)
                            commit('SET_USER_INFO', data)