pages/QC/LLJ/yzxFrom.vue
@@ -153,16 +153,28 @@ data: submitData } }).then(res => { if(res.status==0){ uni.showToast({ title: '保存成功', icon: 'success', duration: 2000 }) }else{ uni.showModal({ title: "提示", content: res.message, confirmText: "确定", showCancel: false, success: (res) => { } }) } }).catch(() => { this.isLoading = false; // 出现错误时结束加载 }); uni.showToast({ title: '保存成功', icon: 'success', duration: 2000 }) } finally { this.isSubmitting = false