<el-input v-model.trim="name" @input="projectNameInput" /> projectNameInput(value) { this.keyword = value this.$refs.autocomplete.handleInput(value); this.$refs.autocomplete.activated = true;//這句話是重點 } <el-autocomplete ref="autocomplete" v-model="keyword" :fetch-suggestions="querySearchAsync" @select="handleSelect"> </el-autocomplete>