mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-17 13:20:52 +08:00
docs: update advanced table
This commit is contained in:
parent
ed6a3d1d62
commit
f3c7141fb8
@ -133,6 +133,11 @@ export default {
|
||||
title: 'Age',
|
||||
key: 'age',
|
||||
sortable: true,
|
||||
order: 1, // 默认升序
|
||||
sorter: (a, b) => {
|
||||
// soter 方法替换默认的sorter函数
|
||||
return a.age - b.age
|
||||
},
|
||||
filterMultiple: true, //多选 onFilter接受参数为数组
|
||||
filterItems: [{
|
||||
label: '14',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "0.2.17",
|
||||
"version": "0.2.18",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user