Open2

vue(nuxtjs)でthlogを作るとき課題

sh0sh0

vuejsでリストの内容がupdateされないときの解決策

this.comment.replies[id] = data
      let replies_temp = [...this.comment.replies]
      this.comment.replies = []
      this.$nextTick(() => {
        this.comment.replies = [...replies_temp]
      })

リストを[]にしてupdateすればできる