I'm trying to display my child comments in VueJs and it's giving me a small error
P粉457445858
P粉457445858 2024-03-22 00:35:48
0
1
366

Hi, I've just started using VueJs and I'm having a hard time.I'm developing a Laravel VueJs project and working on a blogging and commenting system. For this, I created a comments table with a"respond_to_id"attribute that will store the"id"of the parent comment. Then at VueJs level I retrieve these parent and child comments. But the problem is with VueJs display. Since I only reply to sub-comments, the last comment will not show up below that sub-comment.

This is the Vue.Js code I use to retrieve the child comments.

{{ commentaire.name }} répondre

{{ commentaire.contenu }}

{{ child.name }} répondre

{{ child.contenu }}

I want to know where the error lies. please help me.

P粉457445858
P粉457445858

reply all (1)
P粉460377540

The problem is that when I reply to a sub-comment, my comment doesn't show up below the sub-comment.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!