Environment
win10/谷歌浏览器 lastversion/vue last version
Reproduction link
https://codepen.io/yangdan8/pen/YYgXbo
Steps to reproduce
单击页面上View,弹出了true
What is expected?
弹出false,这里的this希望指向table对应的vue实例
What is actually happening?
this希望指向table对应的vue实例
win10/谷歌浏览器 lastversion/vue last version
https://codepen.io/yangdan8/pen/YYgXbo
单击页面上View,弹出了true
弹出false,这里的this希望指向table对应的vue实例
this希望指向table对应的vue实例
1条答案
按热度按时间cedebl8k1#
Translation of this issue:
Environment
Win10/ Google browser lastversion/vue last version
Reproduction link
https://codepen.io/yangdan8/pen/YYgXbo
Steps to reproduce
Click View on the page and pop up true
What is expected?
False is popped out, and the this here wants to point to the Vue instance corresponding to the table
What is actually happening?
This wants to point to the Vue instance of the corresponding table