user接口修改并测试

This commit is contained in:
Ran_Chen
2025-04-01 10:59:35 +08:00
parent a345d41e9e
commit 5998fc3edd
7 changed files with 84 additions and 72 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export default new Vuex.Store({
logout({ commit }) {
return new Promise((resolve) => {
commit('clearAuth')
resolve()
window.location.href = '/login';
})
}
},