From 650a6ced04057fe7eb195b41b252b7d08f378184 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 27 Oct 2022 14:08:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/pingchang/AppPartyReport/fillLog.vue | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/project/pingchang/AppPartyReport/fillLog.vue b/src/project/pingchang/AppPartyReport/fillLog.vue index d5b7363..e9db60c 100644 --- a/src/project/pingchang/AppPartyReport/fillLog.vue +++ b/src/project/pingchang/AppPartyReport/fillLog.vue @@ -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('提交失败') }); },