vue nested multi-layer assembly when the data source is not updated dom cache update complete removal assembly

When the multi-layer components in a serious cache item nested assembly 

 

 this.$nextTick(() => {
 
.....
 
});

it does not work

 this.$forceUpdate();

it does not work

Up operation principle only by a deep-shallow copy copying data source

this.tableData = JSON.parse(JSON.stringify(this.tableData))

problem solved

Guess you like

Origin www.cnblogs.com/tianmiaogongzuoshi/p/11080455.html