mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
按钮新增类型,layout补全文档
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user