mirror of https://github.com/ElemeFE/element
Loading: fix after-leave execution when init value is false (#9722)
parent
cbf033a792
commit
096dbddf98
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue