【vue】Solve the problem of {‘View‘, __ob__: Observer} value

['VIEW', ob: Observer]
{'VIEW', ob: Observer}

Reason
For the data type __ob__:Observer, it is actually generated by Vue monitoring variables. When adding data to the array, the object information added by push will appear_ _ob__: Observer

Solution
can be usedObject.assign([], this.list)

Guess you like

Origin blog.csdn.net/qq_43585322/article/details/126180725