layhuts 1 месяц назад
Родитель
Сommit
bbcad709ca
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      playground/src/views/examples/vxe-table/viewed.vue

+ 2 - 2
playground/src/views/examples/vxe-table/viewed.vue

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