Table content vue component library element-ui display is not updated

First, the cause of the problem:

Because arrays Object.defineProperty direct assignment can not be detected.

 

 

 

 Second, the solution

So should you want to use this. $ Set ( 'object name', to modify the attribute name, attribute value), the value of this property add new Vue will be monitored and synchronized to render the page.

 

 

 

Guess you like

Origin www.cnblogs.com/ziyoublog/p/11608954.html