Merge pull request #3424 from xiaofengsha/pr005

inputNumber组件添加placeholder属性
This commit is contained in:
Aresn 2018-04-23 12:52:56 +08:00 committed by GitHub
commit 74999a6421
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -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 {