privatenumber / vue-frag

🤲 Create Fragments (multiple root-elements) in Vue 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

你好,请问一下,递归组件情况下的问题

MaJiaXuan opened this issue · comments

我这边使用了vue-frag,进行递归组件操作。但是发现第一层生效,在动态加减数据的时候发现递归的里面都不生效。

image
image

使用版本是 1.4.1

Sorry, I tried using Google Translate but I don’t understand.

Can you provide a minimal reproduction of the problem you're experiencing and an English description of what you expect?

hello I used 'Vue-frag' for recursive component encapsulation, but noticed that when I was dynamically adding or subtracting data, the view did not render the updated DOM, only the first rendering.

Refer to the two pictures posted above.

version: 1.4.1

help.In a hurry, I tried to replace 'Vue-frag' with a 'div' tag and it worked, but I didn't want to have an extra tag at each level of recursion.

Please provide a link to a minimal reproduction repository.

Will re-open once reproduction is provided