This commit is contained in:
liuye
2022-03-29 10:27:14 +08:00
parent 386a817d42
commit 14f5b1a964
4 changed files with 17 additions and 12 deletions

View File

@@ -51,11 +51,14 @@ export default {
pid: this.pid,
}).then(res => {
if (res.code === 0) {
this.$u.toast(this.isEdit ? '保存成功' : '提交成功')
this.$u.toast('提交成功')
uni.$emit('reload')
uni.navigateBack({
delta: 1
})
setTimeout(() => {
uni.navigateBack({
delta: 1
})
}, 300)
}
})
}