diff --git a/src/plugins/vxeTable/renderer/preview.tsx b/src/plugins/vxeTable/renderer/preview.tsx index 3cb1270b..a737dd51 100644 --- a/src/plugins/vxeTable/renderer/preview.tsx +++ b/src/plugins/vxeTable/renderer/preview.tsx @@ -25,6 +25,7 @@ VXETable.renderer.add('XPreview', { ) } else { return ( + // @ts-ignore {row[column.field]} diff --git a/src/store/modules/dict.ts b/src/store/modules/dict.ts index 2d393e43..822547bf 100644 --- a/src/store/modules/dict.ts +++ b/src/store/modules/dict.ts @@ -1,5 +1,6 @@ import { defineStore } from 'pinia' import { store } from '../index' +// @ts-ignore import { DictDataVO } from '@/api/system/dict/types' import { CACHE_KEY, useCache } from '@/hooks/web/useCache' const { wsCache } = useCache('sessionStorage') diff --git a/src/types/auto-components.d.ts b/src/types/auto-components.d.ts index a04c98b3..2a42203d 100644 --- a/src/types/auto-components.d.ts +++ b/src/types/auto-components.d.ts @@ -70,6 +70,7 @@ declare module '@vue/runtime-core' { ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] + ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] ElUpload: typeof import('element-plus/es')['ElUpload'] Error: typeof import('./../components/Error/src/Error.vue')['default'] FlowCondition: typeof import('./../components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue')['default'] diff --git a/src/utils/tree.ts b/src/utils/tree.ts index 20f97a38..51a64bd1 100644 --- a/src/utils/tree.ts +++ b/src/utils/tree.ts @@ -265,6 +265,7 @@ export const handleTree = (data: any[], id?: string, parentId?: string, children } return tree } + /** * 构造树型结构数据 * @param {*} data 数据源 @@ -273,6 +274,7 @@ export const handleTree = (data: any[], id?: string, parentId?: string, children * @param {*} children 孩子节点字段 默认 'children' * @param {*} rootId 根Id 默认 0 */ +// @ts-ignore export const handleTree2 = (data, id, parentId, children, rootId) => { id = id || 'id' parentId = parentId || 'parentId'