Skip to content

Commit 2537897

Browse files
Update example
1 parent 6f0e560 commit 2537897

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

src/playground/configs/templates/ServerTable.vue

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -229,54 +229,51 @@ const defaultSortBy = [
229229
];
230230
const headers = {
231231
comments: [
232-
// {
233-
// align: 'start',
234-
// key: null,
235-
// title: '',
236-
// width: 110,
237-
// },
232+
{
233+
align: 'start',
234+
key: null,
235+
title: '',
236+
width: 110,
237+
},
238238
{
239239
align: 'start',
240240
key: 'postId',
241241
sortable: false,
242242
title: 'Post ID',
243-
// width: 110,
243+
width: 110,
244244
},
245245
{
246246
align: 'start',
247247
key: 'id',
248248
sortable: false,
249249
title: 'Comment ID',
250-
// width: 130,
250+
width: 130,
251251
},
252252
{
253253
align: 'start',
254254
key: 'name',
255255
title: 'Comment',
256256
},
257-
{
258-
key: 'data-table-expand',
259-
title: '',
260-
},
261257
],
262258
posts: [
263259
{
264260
align: 'start',
265261
key: 'userId',
266262
sortable: false,
267263
title: 'User ID',
268-
// width: 110,
264+
width: 110,
269265
},
270266
{
271267
align: 'start',
272268
key: 'id',
273269
title: 'Post ID',
274-
// width: 240,
270+
width: 240,
275271
},
276272
{
277273
align: 'start',
278274
key: 'title',
279275
title: 'Post',
276+
// width: 50,
280277
},
281278
{
282279
key: 'data-table-expand',
@@ -342,10 +339,6 @@ const footers = {
342339
key: 'name',
343340
title: 'Comment',
344341
},
345-
{
346-
key: 'data-table-expand',
347-
title: '',
348-
},
349342
],
350343
posts: [
351344
{

0 commit comments

Comments
 (0)