Skip to content

Commit 5459fad

Browse files
author
puhui999
committed
update: @ts-ignore
1 parent eff7e25 commit 5459fad

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

src/plugins/vxeTable/renderer/preview.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ VXETable.renderer.add('XPreview', {
2525
)
2626
} else {
2727
return (
28+
// @ts-ignore
2829
<ElLink href={row[column.field]} target="_blank">
2930
{row[column.field]}
3031
</ElLink>

src/store/modules/dict.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { defineStore } from 'pinia'
22
import { store } from '../index'
3+
// @ts-ignore
34
import { DictDataVO } from '@/api/system/dict/types'
45
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
56
const { wsCache } = useCache('sessionStorage')

src/types/auto-components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ declare module '@vue/runtime-core' {
7070
ElTabPane: typeof import('element-plus/es')['ElTabPane']
7171
ElTabs: typeof import('element-plus/es')['ElTabs']
7272
ElTooltip: typeof import('element-plus/es')['ElTooltip']
73+
ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
7374
ElUpload: typeof import('element-plus/es')['ElUpload']
7475
Error: typeof import('./../components/Error/src/Error.vue')['default']
7576
FlowCondition: typeof import('./../components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue')['default']

src/utils/tree.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ export const handleTree = (data: any[], id?: string, parentId?: string, children
265265
}
266266
return tree
267267
}
268+
268269
/**
269270
* 构造树型结构数据
270271
* @param {*} data 数据源
@@ -273,6 +274,7 @@ export const handleTree = (data: any[], id?: string, parentId?: string, children
273274
* @param {*} children 孩子节点字段 默认 'children'
274275
* @param {*} rootId 根Id 默认 0
275276
*/
277+
// @ts-ignore
276278
export const handleTree2 = (data, id, parentId, children, rootId) => {
277279
id = id || 'id'
278280
parentId = parentId || 'parentId'

0 commit comments

Comments
 (0)