调整接口工具类

This commit is contained in:
aixianling
2022-05-16 11:10:11 +08:00
parent 5eaf8f996a
commit 23d677bc82
3 changed files with 9 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ Vue.use(Vuex)
const user = {
state: {
info: {},
ATime: '',
token: '',
financeUser: {}
},
mutations: {
@@ -20,8 +20,8 @@ const user = {
setUserInfo(state, userInfo) {
state.info = userInfo
},
SET_TIME(state, pay) {
state.ATime = pay
setToken(state, token) {
state.token = token
}
}
}