feat: 问题修复
This commit is contained in:
parent
fa54b01e97
commit
889f4b4947
|
@ -220,13 +220,17 @@ export default {
|
|||
if (!err) {
|
||||
this.btnLoading = true
|
||||
state.passwordLevelChecked = false
|
||||
this.$store.dispatch('ChangePassword', values).then(res => {
|
||||
this.btnLoading = false
|
||||
this.$message.success('修改密码成功')
|
||||
this.$store.dispatch('Logout').then(() => {
|
||||
this.$router.push({ name: 'login' })
|
||||
this.$store
|
||||
.dispatch('ChangePassword', values)
|
||||
.then(res => {
|
||||
this.$message.success('修改密码成功')
|
||||
this.$store.dispatch('Logout').then(() => {
|
||||
this.$router.push({ name: 'login' })
|
||||
})
|
||||
})
|
||||
.finally(() => {
|
||||
this.btnLoading = false
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
@ -93,6 +93,8 @@ const user = {
|
|||
password: data.password
|
||||
}).then(res => {
|
||||
resolve(res)
|
||||
}).finally((error)=>{
|
||||
reject(error)
|
||||
})
|
||||
} catch (error) {
|
||||
reject(error)
|
||||
|
|
|
@ -70,7 +70,7 @@ export default {
|
|||
courseType: '' // 课程分类
|
||||
},
|
||||
queryOptions: [
|
||||
{ type: 'select-dic-tree', placeholder: '课程分类', key: 'courseType', options: [] }
|
||||
{ type: 'select-dic-tree', width: '200', placeholder: '课程分类', key: 'courseType', options: [] }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue