From 96a7514a08ef3ca978533510ccde309ef9f3bdd8 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 22 十月 2025 10:58:13 +0800
Subject: [PATCH] 调机界面修改
---
components/mold.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index 8b76410..01d76e8 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -280,8 +280,13 @@
icon: 'error'
});
return;
+ } else if (res.data && res.data.outMsg) {
+ uni.showToast({
+ title: res.data.outMsg,
+ icon: 'none'
+ });
}
- else uni.showToast({ title: res.data.outMsg || '' });
+ // 鍚庣画閫昏緫缁х画鎵ц
if (res.status === 0) {
await this.fetchFormData();
}
@@ -325,8 +330,13 @@
icon: 'error'
});
return;
+ } else if (res.data && res.data.outMsg) {
+ uni.showToast({
+ title: res.data.outMsg,
+ icon: 'none'
+ });
}
- else uni.showToast({ title: res.data.outMsg || '' });
+ // 鍚庣画閫昏緫缁х画鎵ц
if (res.status === 0) {
await this.fetchFormData();
}
--
Gitblit v1.9.3