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