Commit 547293e3 authored by baiyaaaaa's avatar baiyaaaaa

support Input min & max prop

parent 60a812ad
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
:minlength="minlength" :minlength="minlength"
:autocomplete="autoComplete" :autocomplete="autoComplete"
:autofocus="autofocus" :autofocus="autofocus"
:min="min"
:max="max"
:form="form" :form="form"
:value="value" :value="value"
ref="input" ref="input"
...@@ -95,7 +97,9 @@ ...@@ -95,7 +97,9 @@
}, },
form: String, form: String,
maxlength: Number, maxlength: Number,
minlength: Number minlength: Number,
max: {},
min: {}
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment