this.userAnswers[sort] = this.prefixs[choice];
/*修改userAnswers的值*/
this.userAnswers= Object.assign({}, this.userAnswers);
/*紧接着,通过重新赋值属性,触发该属性的setter方法*/
微信扫一扫
this.userAnswers[sort] = this.prefixs[choice];
/*修改userAnswers的值*/
this.userAnswers= Object.assign({}, this.userAnswers);
/*紧接着,通过重新赋值属性,触发该属性的setter方法*/
相关推荐