vue-sell
vue-sell copied to clipboard
为什么在nextTick的回调里取不到v-for的遍历的dom
数据是从store.getters中的拿的,视图上是已经渲染出来,为什么拿不到v-for遍历的dom?希望作者告知一下。感激!
这里console.log(lists)是undefined
我也是这样,有解决方案嘛
我解决了,使用updated()