javascript - Vue v-if performance issue.
某草草
某草草 2017-05-18 11:03:09
0
1
795

Like the above, it is a comment, looped out. To determine which type it is, display the above content.

The loop is different every 2 seconds. Ajax requested data

The official said that frequent switching like this consumes performance. But v-show cannot be used in this case, because v-show will show everything out.

Is there any solution? I'm afraid I won't be able to bear it.

某草草
某草草

reply all (1)
世界只因有你

Why does v-show display everything? Can your item.type be equal to a, b, c, d at the same time?

    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!