toast提示

This commit is contained in:
liuye
2022-04-20 14:39:18 +08:00
parent fbe2eec962
commit e5f9c86fd3
3 changed files with 15 additions and 9 deletions

View File

@@ -97,9 +97,11 @@ export default {
if (res.code == 0) {
this.$u.toast('提交成功')
uni.$emit('reload')
uni.navigateBack({
delta: 1
})
setTimeout(() => {
uni.navigateBack({
delta: 1
})
}, 600)
}
}).catch((err) => {
this.$u.toast(err)