docs: 修复二开自动拆分工具的一些bug

This commit is contained in:
gaoyunqi
2024-06-13 21:17:31 +08:00
parent a9d3fe6943
commit 8a6a02699d
3 changed files with 49 additions and 31 deletions

View File

@ -93,7 +93,6 @@
</style>
<script lang="ts">
import { PlusOutlined, MinusCircleOutlined } from '@ant-design/icons-vue';
import { Form } from 'ant-design-vue';
import { inject, onMounted, ref, unref, watch, nextTick } from 'vue';
import { SubFormColumn } from '../types';
import { componentMap } from '../componentMap';
@ -107,6 +106,7 @@
import { useI18n } from '/@/hooks/web/useI18n';
import { MutipleHeadInfo } from '/@/components/Designer';
export default {
emits: ['change', 'update:value'],
components: {
@ -190,11 +190,6 @@
setup(props, ctx){
const { t } = useI18n();
const emit = ctx.emit;
// 用于包裹弹窗的form组件 因为一个FormItem 只能收集一个表单组件 所以弹窗的form 必须排除
// const FormItemRest = Form.ItemRest;
const FormItem = Form.Item;
const FormItemRest = Form.ItemRest;
const multipleDialog = ref<boolean>(false);
const data = ref<Recordable[]>([]);
const cacheMap = new Map<String, number[]>();
@ -551,7 +546,6 @@
}
return {
FormItem,
addDataKey,
componentMap,
getComponentsProps,
@ -561,7 +555,6 @@
rules,
remove,
add,
FormItemRest,
t,
multipleDialog,
checkedValueComponents,
@ -569,6 +562,7 @@
data,
headColums,
columns,
renderSubFormList
}
}
}