提示信息

This commit is contained in:
shijingjing
2022-10-27 14:08:26 +08:00
parent a9a54483db
commit 650a6ced04

View File

@@ -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('提交失败')
});
},