[Improvement] optimize watcher (#1001)

This commit is contained in:
neverland
2018-05-05 22:14:43 +08:00
committed by GitHub
parent 6d4709cc71
commit ba2f11138b
5 changed files with 52 additions and 61 deletions

View File

@@ -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: () => {}