forked from github/dataease
fix: 新建计算字段重置
This commit is contained in:
parent
1fe4f07417
commit
ed3ddf8185
@ -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()
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user