forked from github/dataease
fix: 新建计算字段重置
This commit is contained in:
parent
1fe4f07417
commit
ed3ddf8185
@ -722,6 +722,7 @@
|
|||||||
:visible.sync="editCalcField"
|
:visible.sync="editCalcField"
|
||||||
class="de-dialog-form de-center-dialog"
|
class="de-dialog-form de-center-dialog"
|
||||||
width="980px"
|
width="980px"
|
||||||
|
:before-close="closeCalcField"
|
||||||
:title="
|
:title="
|
||||||
currEditField.id
|
currEditField.id
|
||||||
? $t('dataset.edit_calc_field')
|
? $t('dataset.edit_calc_field')
|
||||||
@ -730,6 +731,7 @@
|
|||||||
append-to-body
|
append-to-body
|
||||||
>
|
>
|
||||||
<calc-field-edit
|
<calc-field-edit
|
||||||
|
ref="calcFieldEdit"
|
||||||
:param="param"
|
:param="param"
|
||||||
:table-fields="tableFields"
|
:table-fields="tableFields"
|
||||||
:field="currEditField"
|
:field="currEditField"
|
||||||
@ -893,6 +895,7 @@ export default {
|
|||||||
|
|
||||||
closeCalcField() {
|
closeCalcField() {
|
||||||
this.editCalcField = false
|
this.editCalcField = false
|
||||||
|
this.$refs.calcFieldEdit.resetField()
|
||||||
this.initField()
|
this.initField()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user