BUG 29490
This commit is contained in:
@@ -404,7 +404,6 @@ export default {
|
||||
this.isEdit = false
|
||||
this.getDetail()
|
||||
}
|
||||
|
||||
},
|
||||
onShow() {
|
||||
document.title = '新增人员'
|
||||
@@ -476,14 +475,14 @@ export default {
|
||||
this.$u.toast(this.isEdit ? '信息保存成功' : '信息提交成功')
|
||||
uni.$emit('specialPeopleList')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
uni.navigateBack({})
|
||||
}, 600)
|
||||
this.isEdit = !this.isEdit
|
||||
} else if (res.code == 1) {
|
||||
this.$u.toast('保存失败,信息未填写')
|
||||
} else {
|
||||
this.$confirm('是否放弃编辑当前信息').then(() => {
|
||||
uni.navigateBack()
|
||||
uni.navigateBack({})
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user