Loading: fix after-leave execution when init value is false (#9722)

pull/9741/head
杨奕 2018-02-08 11:17:10 +08:00 committed by GitHub
parent cbf033a792
commit 096dbddf98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ loadingDirective.install = Vue => {
el.mask = mask.$el; el.mask = mask.$el;
el.maskStyle = {}; el.maskStyle = {};
toggleLoading(el, binding); binding.value && toggleLoading(el, binding);
}, },
update: function(el, binding) { update: function(el, binding) {