按钮新增类型,layout补全文档

This commit is contained in:
niunai
2017-03-30 14:23:36 +08:00
parent 7bbb53e5f5
commit 874df43df0
9 changed files with 150 additions and 41 deletions

View File

@@ -76,8 +76,9 @@ export default {
this.$emit('change', val);
},
value(val) {
if (val) {
this.currentValue = this.correctValue(+val);
val = this.correctValue(+val);
if (val !== this.currentValue) {
this.currentValue = val;
}
}
},