dialog fix

This commit is contained in:
cookfront
2017-04-14 17:36:24 +08:00
parent 9255184f26
commit 1ab44ea055
5 changed files with 28 additions and 7 deletions

View File

@@ -56,12 +56,7 @@ export default {
},
message: {
type: String,
default: '',
validator(value) {
if (this.type === 'success' || this.type === 'fail') {
return value.length <= 16;
}
}
default: ''
},
forbidClick: {
type: Boolean,