inputNumber组件添加placeholder属性
This commit is contained in:
parent
3dc998e6ab
commit
ff3d2a2e38
1 changed files with 7 additions and 2 deletions
|
@ -30,7 +30,8 @@
|
|||
@change="change"
|
||||
:readonly="readonly || !editable"
|
||||
:name="name"
|
||||
:value="formatterValue">
|
||||
:value="formatterValue"
|
||||
:placeholder="placeholder">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -120,7 +121,11 @@
|
|||
},
|
||||
parser: {
|
||||
type: Function
|
||||
}
|
||||
},
|
||||
placeholder: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
|
Loading…
Add table
Reference in a new issue