自訂索引名有點像是id 一樣,假設在元件上設定ref myBlock,就可以用this.$refs.myBlock 取得DOM 元素。 <template> <input v-model.number="heightModel" ...
確定! 回上一頁