update Input
update Input
This commit is contained in:
parent
8a83e7c42b
commit
c3a9f3895b
3 changed files with 93 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
:readonly="readonly"
|
||||
:name="name"
|
||||
v-model="value"
|
||||
:number="number"
|
||||
@keyup.enter="handleEnter"
|
||||
@focus="handleFocus"
|
||||
@blur="handleBlur"
|
||||
|
@ -87,6 +88,10 @@
|
|||
},
|
||||
name: {
|
||||
type: String
|
||||
},
|
||||
number: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
|
|
@ -38,6 +38,12 @@
|
|||
line-height: 32px;
|
||||
font-size: @font-size-small;
|
||||
}
|
||||
& & {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
& & &-content {
|
||||
margin-left: 0!important;
|
||||
}
|
||||
|
||||
&-error-tip{
|
||||
position: absolute;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue