style: 修改注释
parent
a5f0537cb0
commit
bbcad709ca
|
|
@ -23,7 +23,7 @@ interface RowType {
|
||||||
const gridOptions: VxeGridProps<RowType> = {
|
const gridOptions: VxeGridProps<RowType> = {
|
||||||
checkboxConfig: {
|
checkboxConfig: {
|
||||||
highlight: true,
|
highlight: true,
|
||||||
labelField: 'name',
|
labelField: 'productName',
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{title: '序号', type: 'seq', width: 50},
|
{title: '序号', type: 'seq', width: 50},
|
||||||
|
|
@ -88,7 +88,7 @@ const gridOptions: VxeGridProps<RowType> = {
|
||||||
const [Grid, gridApi] = useVbenVxeGrid({
|
const [Grid, gridApi] = useVbenVxeGrid({
|
||||||
gridOptions,
|
gridOptions,
|
||||||
viewedRow: {
|
viewedRow: {
|
||||||
// 触发已读的操作码(点击编辑时标记为已读)
|
// 触发已读的操作码
|
||||||
actionCodes: ['view'],
|
actionCodes: ['view'],
|
||||||
// 行数据中的唯一标识字段
|
// 行数据中的唯一标识字段
|
||||||
keyField: 'id',
|
keyField: 'id',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue