pages/QC/SJ/yzxFrom.vue
@@ -159,6 +159,11 @@ icon: 'success', duration: 2000 }) // 保存一致性核对状态到本地存储 const storageKey = `yzxChecked_${this.formid}`; uni.setStorageSync(storageKey, true); // 保存成功后更新父页面状态 const pages = getCurrentPages(); if (pages.length > 1) { @@ -168,10 +173,6 @@ prevPage.$vm.formData.yzxChecked = true; } } // 自动返回上一页 增加的 setTimeout(() => { uni.navigateBack(); }, 1500); }else{ uni.showModal({ title: "提示",