|
@@ -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()
|