waterfall

This commit is contained in:
pangxie1991
2017-03-10 21:51:16 +08:00
parent e7610239a6
commit a2a62c89f1
2 changed files with 31 additions and 23 deletions

View File

@@ -14,6 +14,7 @@ function doBindEvent() {
if (disabledExpr) {
this.vm.$watch(disabledExpr, (value) => {
this.disabled = value;
this.scrollEventListener();
});
disabled = Boolean(this.vm[disabledExpr]);
}