Compare commits

..

No commits in common. "222f5588074b76e22ba71638b33d45b7058ce828" and "ef5dfc8ed1d5453a2e5af616e95d011e73ef7e4d" have entirely different histories.

1 changed files with 3 additions and 2 deletions

View File

@ -165,8 +165,9 @@ setTimeout(() => {
function submit() {
proxy.$refs.userRef.validate((valid) => {
if (valid) {
userStore.user.edusubject = sessionStore.get('edusubject') ? sessionStore.get('edusubject') : userStore.user.edusubject
userStore.user.edustage = sessionStore.get('edustage') ? sessionStore.get('edustage') : userStore.user.edustage
userStore.user.edusubject = sessionStore.get('edusubject')
userStore.user.edustage = sessionStore.get('edustage')
console.log('userStore更新前', userStore.user);
updateUserInfo(userStore.user).then((response) => {
if(response.code == 200){
userStore.login({username:userStore.user.userName,password:userStore.user.plainpwd}).then(() => {