利用prop來即時讀取修改的input. 為了達成目的需要搭配使用v-model,v-bind. 首先在component的data中定義parentMsg,在props中定義message 在定義一個function,change, ...
確定! 回上一頁