update 混入完善
This commit is contained in:
@@ -398,6 +398,15 @@ export const ConfigurableTableMixin = {
|
|||||||
this.$refs.modalForm.add()
|
this.$refs.modalForm.add()
|
||||||
this.$refs.modalForm.title = this.$t('newlyAdded')
|
this.$refs.modalForm.title = this.$t('newlyAdded')
|
||||||
this.$refs.modalForm.disableSubmit = false
|
this.$refs.modalForm.disableSubmit = false
|
||||||
|
},
|
||||||
|
modalFormOk () {
|
||||||
|
// 新增/修改 成功时,重载列表
|
||||||
|
this.loadData()
|
||||||
|
// 清空列表选中
|
||||||
|
this.onClearSelected()
|
||||||
|
},
|
||||||
|
onClearSelected () {
|
||||||
|
this.selectedRowKeys = []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user