this.$store.state.playList.unshift({songname:this.$store.state.chosenList.songname,url:this.$store.state.songurl})數據是沒問題的 單獨push 不是對象沒錯啊this.$store.state.playList.unshift(this.$store.state.chosenList.songname) console.log( this.$store.state.playList)但是這樣追加進數組出錯 為什么
js 數組追加對象出錯
互換的青春
2018-11-14 13:15:51