this.userAnswers[sort] = this.prefixs[choice];
/*修改userAnswers的值*/
this.userAnswers= Object.assign({}, this.userAnswers);
/*紧接着,通过重新赋值属性,触发该属性的setter方法*/
uniapp强制刷新this.$forceUpdate();失效
阅读 145
2022-04-13
this.userAnswers[sort] = this.prefixs[choice];
/*修改userAnswers的值*/
this.userAnswers= Object.assign({}, this.userAnswers);
/*紧接着,通过重新赋值属性,触发该属性的setter方法*/
相关推荐
精彩评论(0)