Environment
win7/chrome@70.0.3514.0/vue@2.5.7
Reproduction link
https://jsfiddle.net/s9pfvear/2
Steps to reproduce
刷新 or 改变数据
What is expected?
v-for正常渲染
What is actually happening?
watch方法能够监听到数据变化,却无法触发节点刷新,貌似整个元素已经被移除
win7/chrome@70.0.3514.0/vue@2.5.7
https://jsfiddle.net/s9pfvear/2
刷新 or 改变数据
v-for正常渲染
watch方法能够监听到数据变化,却无法触发节点刷新,貌似整个元素已经被移除
1条答案
按热度按时间3j86kqsm1#
Translation of this issue:
Environment
Win7/chrome@70.0.3514.0/vue@2.5.7
Reproduction link
https://jsfiddle.net/s9pfvear/2
Steps to reproduce
Refresh or to change data
What is expected?
V-for normal rendering
What is actually happening?
The watch method listens to data changes but fails to trigger node refreshes. It seems that the entire element has been removed.