|
|
@@ -9,7 +9,6 @@ interface Props {
|
|
|
formData: any
|
|
|
create: Function
|
|
|
update: Function
|
|
|
- advanced?: boolean
|
|
|
}
|
|
|
|
|
|
const props = defineProps<Props>()
|
|
|
@@ -51,14 +50,7 @@ const submit = async () => {
|
|
|
@close="closeDialog"
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
|
- <pro-form
|
|
|
- ref="formRef"
|
|
|
- :formConfig="formConfig"
|
|
|
- :formData="formInitData"
|
|
|
- :create="create"
|
|
|
- :update="update"
|
|
|
- :advanced="advanced"
|
|
|
- />
|
|
|
+ <pro-form ref="formRef" :formConfig="formConfig" :formData="formInitData" :create="create" :update="update" />
|
|
|
|
|
|
<template #footer>
|
|
|
<el-button icon="Close" @click="closeDialog">取消</el-button>
|