This commit is contained in:
kailong321200875
2023-10-09 14:11:09 +08:00
parent d543e56efb
commit 1c51221645
4 changed files with 184 additions and 6 deletions

View File

@@ -93,9 +93,6 @@ export default defineComponent({
// element form 实例
const elFormRef = ref<ComponentRef<typeof ElForm>>()
// useForm传入的props
const outsideProps = ref<FormProps>({})
const mergeProps = ref<FormProps>({})
const getProps = computed(() => {
@@ -124,8 +121,6 @@ export default defineComponent({
const setProps = (props: FormProps = {}) => {
mergeProps.value = Object.assign(unref(mergeProps), props)
// @ts-ignore
outsideProps.value = props
}
const delSchema = (field: string) => {