Loading: remove parent class when directive is unbound

This commit is contained in:
Leopoldthecoder 2017-12-20 16:57:28 +08:00 committed by 杨奕
parent c69adb0458
commit 42849a89fe

View File

@ -107,6 +107,7 @@ exports.install = Vue => {
el.mask &&
el.mask.parentNode &&
el.mask.parentNode.removeChild(el.mask);
toggleLoading(el, { value: false, modifiers: binding.modifiers });
}
}
});