<el-input type="number" class="button_style" v-model="depth" min="1" max="99999" oninput="if(value.length > 5) value = value.slice(0,5)" />
el-input type为number最大值和长度无法限制
最新推荐文章于 2024-04-26 14:08:58 发布
<el-input type="number" class="button_style" v-model="depth" min="1" max="99999" oninput="if(value.length > 5) value = value.slice(0,5)" />