iview Whether the context of an event bound by the render element in the [Bug Report]Table should default to the current Vue instance rather than the window

iqjalb3h  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(66)

Environment

win10/谷歌浏览器 lastversion/vue last version

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实例

cedebl8k

cedebl8k1#

Translation of this issue:

Environment

Win10/ Google browser lastversion/vue last version

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

相关问题