最新回答 / qq_慕工程9363763
比如老師例子的那個要傳遞參數的問題,如果需要傳遞參數的話,寫成this.$emit('delete',index),如果不需要傳值,直接就this.$emit('delete')即可
2020-02-06