this.optionB=JSON.parse(JSON.stringify(this.optionA))
vue把对象给某个变量,改变变量的值,源对象也会变化
最新推荐文章于 2022-06-29 14:46:03 发布
this.optionB=JSON.parse(JSON.stringify(this.optionA))