Skip to content

Commit 99b1f57

Browse files
author
huangshuwei
committed
refine demo
1 parent 473ba07 commit 99b1f57

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/src/demo/index.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ export default {
221221
title: "#",
222222
width: 30,
223223
fixed: this.enableColumnFixed ? "left" : "",
224-
renderBodyCell: ({ row, column, rowIndex }, h) => {
224+
/* renderBodyCell: ({ row, column, rowIndex }, h) => {
225225
return ++rowIndex;
226-
}
226+
} */
227227
});
228228
229229
columns = columns.concat([
@@ -244,7 +244,7 @@ export default {
244244
title: "Sex",
245245
width: 50,
246246
align: "center",
247-
sortBy: "",
247+
//sortBy: "",
248248
renderBodyCell: ({ row, column, rowIndex }, h) => {
249249
const cellData = row[column.field];
250250
@@ -282,7 +282,7 @@ export default {
282282
key: "e",
283283
title: "Proficiency",
284284
width: 150,
285-
sortBy: "",
285+
//sortBy: "",
286286
renderBodyCell: (
287287
{ row, column, rowIndex },
288288
h
@@ -376,7 +376,7 @@ export default {
376376
fixed: this.enableColumnFixed ? "right" : "",
377377
align: "left",
378378
// filter
379-
filter: {
379+
/* filter: {
380380
filterList: [
381381
{ value: 0, label: "Working", selected: false },
382382
{ value: 1, label: "Metting", selected: false },
@@ -396,7 +396,7 @@ export default {
396396
}
397397
// max height
398398
//maxHeight: 120
399-
},
399+
}, */
400400
renderBodyCell: ({ row, column, rowIndex }, h) => {
401401
const cellData = row[column.field];
402402

0 commit comments

Comments
 (0)