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(); }