提示信息
This commit is contained in:
@@ -221,22 +221,14 @@ export default {
|
|||||||
.post(`/app/apppartyreport/log-add`, this.baseInfo)
|
.post(`/app/apppartyreport/log-add`, this.baseInfo)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
uni.showToast({
|
this.$u.toast('提交成功')
|
||||||
title: "提交",
|
|
||||||
icon: "success",
|
|
||||||
duration: 2000,
|
|
||||||
});
|
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
delta: 1,
|
delta: 1,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
uni.showToast({
|
this.$u.toast('提交失败')
|
||||||
title: err,
|
|
||||||
icon: "none",
|
|
||||||
duration: 1000,
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user