Compare commits
No commits in common. "222f5588074b76e22ba71638b33d45b7058ce828" and "ef5dfc8ed1d5453a2e5af616e95d011e73ef7e4d" have entirely different histories.
222f558807
...
ef5dfc8ed1
|
@ -165,8 +165,9 @@ setTimeout(() => {
|
||||||
function submit() {
|
function submit() {
|
||||||
proxy.$refs.userRef.validate((valid) => {
|
proxy.$refs.userRef.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
userStore.user.edusubject = sessionStore.get('edusubject') ? sessionStore.get('edusubject') : userStore.user.edusubject
|
userStore.user.edusubject = sessionStore.get('edusubject')
|
||||||
userStore.user.edustage = sessionStore.get('edustage') ? sessionStore.get('edustage') : userStore.user.edustage
|
userStore.user.edustage = sessionStore.get('edustage')
|
||||||
|
console.log('userStore更新前', userStore.user);
|
||||||
updateUserInfo(userStore.user).then((response) => {
|
updateUserInfo(userStore.user).then((response) => {
|
||||||
if(response.code == 200){
|
if(response.code == 200){
|
||||||
userStore.login({username:userStore.user.userName,password:userStore.user.plainpwd}).then(() => {
|
userStore.login({username:userStore.user.userName,password:userStore.user.plainpwd}).then(() => {
|
||||||
|
|
Loading…
Reference in New Issue