How to modify the values of the same components rendered by vue without interfering with each other?

problem description

components rendered using v-for

clipboard.png

clipboard.png

modifying the same value results in mutual interference. How to deal with this situation?

Mar.31,2021

look at your code logic childStoreVal shouldn't it be item derived from the addStoreListData loop? middleCacheEnd what the heck is, and I don't see that keywords are extracted from item, and the loop must be the same object, which is bound to interfere with each other


make a deep copy of the data when clicking on the sales channel.

clipboard.png

clipboard.png

Menu