【週刊ドットインストール】 AI関連レッスンの第六弾をリリース予定、アプリ開発日誌を更新中...!
this.count++: のthisはdata内のcountを使うためにあると思うのですが、this.$emit('increment');のthisはなぜ必要なのでしょうか?
this.count++:
this
data
count
this.$emit('increment');
この回答を見るにはプレミアムプランへの登録が必要です