Complex layouts that heavily use v-if in version 0.18 of weex are disordered when redrawn.

premise: due to the rich product information, ui is roughly divided into two types, so in the .vue file, a large number of v-if are used to control the display of the layout. (it is basically 2 chunks, and each time one of them is displayed, the elements in the chunk are also controlled by more v-if.)

problem occurs: after the product list re-initiates the request sort through a combination of filter criteria, the ordering of the product list changes. And there is a layout disorder, such as a string with a line: a v-if controlled b, a dead c, and a makeshift b, and a dead c, a makeshift string. The normal display of
is as follows: the data of an item has changed and the re-rendering does appear: it is an item whose layout is out of order, and most of the others are normal.

There should be no problem with the usage of

, which has been used for almost 2 years. Now it is found that packing two large pieces of layout into component, can reduce this phenomenon.

but the specific reason has not been found yet. I don"t know if anyone has encountered this problem

Aug.12,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b360ca-34391.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b360ca-34391.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?