mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[Improvement] optimize watcher (#1001)
This commit is contained in:
@@ -58,19 +58,22 @@ export default create({
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
default: 'text'
|
||||
},
|
||||
value: {},
|
||||
value: null,
|
||||
icon: String,
|
||||
label: String,
|
||||
error: Boolean,
|
||||
center: Boolean,
|
||||
border: Boolean,
|
||||
required: Boolean,
|
||||
autosize: [Boolean, Object],
|
||||
errorMessage: String,
|
||||
type: {
|
||||
type: String,
|
||||
default: 'text'
|
||||
},
|
||||
border: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
onIconClick: {
|
||||
type: Function,
|
||||
default: () => {}
|
||||
|
Reference in New Issue
Block a user