src/views/system/comp/index.vue
@@ -1095,6 +1095,7 @@ // 不要直接赋值整个 response.data,而是逐个属性赋值 Object.assign(this.form, response.data); this.form.isZybUnit = response.data.isZybUnit === true ? 1 : 0; this.form.dwlx= Number(response.data.dwlx) console.log("修改时的 isZybUnit 值:", this.form.isZybUnit); this.open = true; this.title = "修改体检单位信息维护";