vue中数组变异方法—

    return {
      audios: [],  
  }         

 btn3Click:function(){
                var itemLen=this.audios.length;
             	 this.$set(this.audios,itemLen,{url :this.voiceInfo.voiceUrl });
            }

原文:https://blog.csdn.net/qq_30455841/article/details/78666571

猜你喜欢

转载自blog.csdn.net/weixin_43254676/article/details/83342861