瀏覽代碼

修改bug

Rmengdi 9 月之前
父節點
當前提交
e0e75bbccb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      meas_web/src/views/meas/envData/index.vue

+ 2 - 2
meas_web/src/views/meas/envData/index.vue

@@ -199,7 +199,7 @@ export default {
       this.reset();
     },
     handleClose(){
-      this.$refs.dialogContentRef.handleCloseBefore()
+      this.$refs.dialogContentRef?.handleCloseBefore()
       this.cancel()
     },
     // 保存环境参数
@@ -348,7 +348,7 @@ export default {
       const id = row.id;
       getRadiationByEnvData(id).then((response) => {
         if (response.data) {
-          this.$refs.dialogContentRef.getcalTempData(response.data.calTemp)
+          this.$refs.dialogContentRef?.getcalTempData(response.data.calTemp)
           this.radiationForm = response.data;
         } else {
           this.radiationReset()