fixed #862
This commit is contained in:
parent
5a9a12cd1c
commit
7959adf7a8
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<Input-number :max="10" :min="-1" v-model="v1" :autofocus="autofocus"></Input-number>
|
||||
<Input-number :max="10" name="he" :min="-1" v-model="v1" :autofocus="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>
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
@blur="blur"
|
||||
@keydown.stop="keyDown"
|
||||
@change="change"
|
||||
:name="name"
|
||||
:value="value">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -94,6 +95,9 @@
|
|||
autofocus: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
name: {
|
||||
type: String
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
|
Loading…
Add table
Reference in a new issue