Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,12 @@ const saveExecute = async (proxy, props, dataConfig) => {
if (!x.status) return proxy.$error(x.message)
proxy.$success(x.message || proxy.$ts('保存成功'))
if (dataConfig.boxOptions.saveClose) {
dataConfig.boxModel.value = false
// 调用 onGridModelClose 以触发 onModelClose 钩子
if (proxy.onGridModelClose && typeof proxy.onGridModelClose === 'function') {
proxy.onGridModelClose(false)
} else {
dataConfig.boxModel.value = false
}
//$refs.table.load(null, isAdd)
proxy.getTable(true).load(null, isAdd)
return
Expand Down