vue · 經驗

鵬歌歌發表於2019-01-25
  • 寫法:this.array =(() => { })();
  this.statusList = (() => {
    let arr = [];
    [...res.data.radioBoxList].map(m => {arr.push(m.value)});
    return arr;
  })();
複製程式碼