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.7k 阅读
2 回答3.2k 阅读✓ 已解决
4 回答4.6k 阅读✓ 已解决
4 回答2.1k 阅读✓ 已解决
4 回答2.2k 阅读✓ 已解决
3 回答1.2k 阅读✓ 已解决
3 回答5k 阅读
官方demo测试没问题的,你看下哪里有问题