子組件 this.$emit('input', this.formValue);//子傳給父 父組件引用子組件 <search-bar v-model="form"></search-bar> 這樣將formValue傳給了父組件的form