【Vue】解决Vue中Data数据相互赋值实时同步的问题(示例)

代码如下:只取【字符串值】,而不取【地址】,这样就不会实时同步变化了。

   
            this.mAges =JSON.parse(JSON.stringify(this.ages));
     

猜你喜欢

转载自blog.csdn.net/dxnn520/article/details/123127430