Input 组件增加autofocus属性
This commit is contained in:
parent
05e2dda017
commit
f15c216a51
4 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<Input-number :max="10" :min="-1" v-model="v1"></Input-number>
|
||||
<Input-number :max="10" :min="-1" v-model="v1" autofocus></Input-number>
|
||||
{{ v1 }}
|
||||
<div @click="c">change v1</div>
|
||||
<Input-number disabled :max="10" :min="1" :step="1.2" v-model="v2"></Input-number>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue