|
|
@ -243,7 +243,7 @@ const open = async (type: string, row?: any) => { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
defineExpose({ open , formRef, opensearchTable}) // 提供 open 方法,用于打开弹窗 |
|
|
|
defineExpose({ open , formRef, opensearchTable, dialogVisible}) // 提供 open 方法,用于打开弹窗 |
|
|
|
|
|
|
|
/** 弹窗按钮 */ |
|
|
|
const Butttondata = [ |
|
|
@ -289,7 +289,7 @@ const submitForm = async () => { |
|
|
|
try { |
|
|
|
const data = unref(formRef)?.formModel |
|
|
|
emit('submitForm', formType.value, data ) |
|
|
|
dialogVisible.value = false |
|
|
|
// dialogVisible.value = false |
|
|
|
} finally { |
|
|
|
formLoading.value = false |
|
|
|
} |
|
|
|