Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b015fbc9
authored
Jun 08, 2025
by
zyy
Committed by
GitHub
Jun 08, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: [adapter] 表格配置类型报错 (#6327)
配置toolbarConfig中的search时会有类型报错
1 parent
b69320c0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
apps/web-antd/src/adapter/vxe-table.ts
apps/web-ele/src/adapter/vxe-table.ts
apps/web-naive/src/adapter/vxe-table.ts
playground/src/adapter/vxe-table.ts
apps/web-antd/src/adapter/vxe-table.ts
View file @
b015fbc
import
type
{
VxeTableGridOptions
}
from
'@vben/plugins/vxe-table'
;
import
{
h
}
from
'vue'
;
import
{
h
}
from
'vue'
;
import
{
setupVbenVxeTable
,
useVbenVxeGrid
}
from
'@vben/plugins/vxe-table'
;
import
{
setupVbenVxeTable
,
useVbenVxeGrid
}
from
'@vben/plugins/vxe-table'
;
...
@@ -33,7 +35,7 @@ setupVbenVxeTable({
...
@@ -33,7 +35,7 @@ setupVbenVxeTable({
round
:
true
,
round
:
true
,
showOverflow
:
true
,
showOverflow
:
true
,
size
:
'small'
,
size
:
'small'
,
},
}
as
VxeTableGridOptions
,
});
});
// 表格配置项可以用 cellRender: { name: 'CellImage' },
// 表格配置项可以用 cellRender: { name: 'CellImage' },
...
...
apps/web-ele/src/adapter/vxe-table.ts
View file @
b015fbc
import
type
{
VxeTableGridOptions
}
from
'@vben/plugins/vxe-table'
;
import
{
h
}
from
'vue'
;
import
{
h
}
from
'vue'
;
import
{
setupVbenVxeTable
,
useVbenVxeGrid
}
from
'@vben/plugins/vxe-table'
;
import
{
setupVbenVxeTable
,
useVbenVxeGrid
}
from
'@vben/plugins/vxe-table'
;
...
@@ -33,7 +35,7 @@ setupVbenVxeTable({
...
@@ -33,7 +35,7 @@ setupVbenVxeTable({
round
:
true
,
round
:
true
,
showOverflow
:
true
,
showOverflow
:
true
,
size
:
'small'
,
size
:
'small'
,
},
}
as
VxeTableGridOptions
,
});
});
// 表格配置项可以用 cellRender: { name: 'CellImage' },
// 表格配置项可以用 cellRender: { name: 'CellImage' },
...
...
apps/web-naive/src/adapter/vxe-table.ts
View file @
b015fbc
import
type
{
VxeTableGridOptions
}
from
'@vben/plugins/vxe-table'
;
import
{
h
}
from
'vue'
;
import
{
h
}
from
'vue'
;
import
{
setupVbenVxeTable
,
useVbenVxeGrid
}
from
'@vben/plugins/vxe-table'
;
import
{
setupVbenVxeTable
,
useVbenVxeGrid
}
from
'@vben/plugins/vxe-table'
;
...
@@ -33,7 +35,7 @@ setupVbenVxeTable({
...
@@ -33,7 +35,7 @@ setupVbenVxeTable({
round
:
true
,
round
:
true
,
showOverflow
:
true
,
showOverflow
:
true
,
size
:
'small'
,
size
:
'small'
,
},
}
as
VxeTableGridOptions
,
});
});
// 表格配置项可以用 cellRender: { name: 'CellImage' },
// 表格配置项可以用 cellRender: { name: 'CellImage' },
...
...
playground/src/adapter/vxe-table.ts
View file @
b015fbc
import
type
{
VxeTableGridOptions
}
from
'@vben/plugins/vxe-table'
;
import
type
{
Recordable
}
from
'@vben/types'
;
import
type
{
Recordable
}
from
'@vben/types'
;
import
type
{
ComponentType
}
from
'./component'
;
import
type
{
ComponentType
}
from
'./component'
;
...
@@ -47,7 +48,7 @@ setupVbenVxeTable({
...
@@ -47,7 +48,7 @@ setupVbenVxeTable({
round
:
true
,
round
:
true
,
showOverflow
:
true
,
showOverflow
:
true
,
size
:
'small'
,
size
:
'small'
,
},
}
as
VxeTableGridOptions
,
});
});
/**
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment