合并分支sso

This commit is contained in:
zhangzhiqiang
2022-12-29 15:04:15 +08:00
parent b5990f168e
commit d6ce08df7d
42 changed files with 2044 additions and 1024 deletions

View File

@@ -32,6 +32,7 @@ const user = {
return new Promise((resolve, reject) => {
login(userInfo.username, userInfo.password, userInfo.code, userInfo.uuid).then(res => {
console.log('登录信息:', res)
window.localStorage.setItem('sso_domain',res.domain);
setToken(res.token, rememberMe)
commit('SET_TOKEN', res.token)
setUserInfo(res.user, commit)