sortMethod
这个,接收a 、 b 和 type。
但是为什么a和b都是undefined呢?
{ title: '测试',
key:'',
sortable: true,
sortMethod(a,b,type){
console.log(a,b)
},
slot: 'test'
},
sortMethod
这个,接收a 、 b 和 type。
但是为什么a和b都是undefined呢?
{ title: '测试',
key:'',
sortable: true,
sortMethod(a,b,type){
console.log(a,b)
},
slot: 'test'
},
10 回答11.1k 阅读
6 回答3k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3.1k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
2 回答4.7k 阅读✓ 已解决
4 回答4.3k 阅读✓ 已解决
官方demo测试没问题的,你看下哪里有问题