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')
setTimeout(() => {
uni.navigateBack({
delta: 1
})
}, 600)
}
}).catch((err) => {
this.$u.toast(err)

View File

@@ -43,10 +43,12 @@ export default {
this.$http.post(`/app/apppartyfourlinkage/auditById?id=${this.id}&status=0&remark=${this.remark}`).then((res) => {
if (res.code == 0) {
this.$u.toast('审核成功')
uni.$emit('reload')
setTimeout(() => {
uni.navigateBack({
delta: 1
})
uni.$emit('reload')
}, 600)
}
})
}

View File

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