Compare commits
3 Commits
ef5dfc8ed1
...
222f558807
Author | SHA1 | Date |
---|---|---|
白了个白 | 222f558807 | |
yangws | 733855b95e | |
小杨 | 7a6f57a9b7 |
|
@ -165,9 +165,8 @@ setTimeout(() => {
|
|||
function submit() {
|
||||
proxy.$refs.userRef.validate((valid) => {
|
||||
if (valid) {
|
||||
userStore.user.edusubject = sessionStore.get('edusubject')
|
||||
userStore.user.edustage = sessionStore.get('edustage')
|
||||
console.log('userStore更新前', userStore.user);
|
||||
userStore.user.edusubject = sessionStore.get('edusubject') ? sessionStore.get('edusubject') : userStore.user.edusubject
|
||||
userStore.user.edustage = sessionStore.get('edustage') ? sessionStore.get('edustage') : userStore.user.edustage
|
||||
updateUserInfo(userStore.user).then((response) => {
|
||||
if(response.code == 200){
|
||||
userStore.login({username:userStore.user.userName,password:userStore.user.plainpwd}).then(() => {
|
||||
|
|
Loading…
Reference in New Issue