fix: 新建计算字段重置

This commit is contained in:
dataeaseShu 2023-04-13 15:22:59 +08:00
parent 1fe4f07417
commit ed3ddf8185

View File

@ -722,6 +722,7 @@
:visible.sync="editCalcField"
class="de-dialog-form de-center-dialog"
width="980px"
:before-close="closeCalcField"
:title="
currEditField.id
? $t('dataset.edit_calc_field')
@ -730,6 +731,7 @@
append-to-body
>
<calc-field-edit
ref="calcFieldEdit"
:param="param"
:table-fields="tableFields"
:field="currEditField"
@ -893,6 +895,7 @@ export default {
closeCalcField() {
this.editCalcField = false
this.$refs.calcFieldEdit.resetField()
this.initField()
},