fix: 修复 labelField 和 nameField

master^2
layhuts 2026-05-09 22:28:03 +08:00
parent 08e4bb40b4
commit 4bbd34fab9
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ interface RowType {
const gridOptions: VxeGridProps<RowType> = {
checkboxConfig: {
highlight: true,
labelField: 'productName',
labelField: 'category',
},
columns: [
{title: '序号', type: 'seq', width: 50},
@ -36,7 +36,7 @@ const gridOptions: VxeGridProps<RowType> = {
align: 'center',
cellRender: {
attrs: {
nameField: 'name',
nameField: 'category',
onClick: onActionClick,
},
name: 'CellOperation',