Vue
Property ‘clearSelection’ does not exist on type ‘Vue’
Property ‘clearSelection’ does not exist on type ‘Vue’
首先vue+typescript下报Property ‘clearSelection’ does not exist on type ‘Vue’这种情况居然会编译错误,查看报了什么错,显示是分析原因: 它不知道是哪个类型的属性,因为我们这里用到了TypeScript,而TypeScript 又是强类型检查所以报了这个错。解决方案:将原来的this.$refs['multipleTable'].cl
所有评论(0)