优化<digit-input>组件

This commit is contained in:
GoEdgeLab
2023-09-07 11:46:37 +08:00
parent 6ef9ff4fd9
commit a46a0296d3

View File

@@ -59,5 +59,5 @@ Vue.component("digit-input", {
}
}
},
template: `<input type="text" v-model="realValue" :maxlength="realMaxLength" :size="realSize" :class="{error: !this.isValid}" :placeholder="placeholder"/>`
template: `<input type="text" v-model="realValue" :maxlength="realMaxLength" :size="realSize" :class="{error: !this.isValid}" :placeholder="placeholder" autocomplete="off"/>`
})