فهرست منبع

Loading: remove parent class when directive is unbound

Leopoldthecoder 7 سال پیش
والد
کامیت
42849a89fe
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      packages/loading/src/directive.js

+ 1 - 0
packages/loading/src/directive.js

@@ -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 });
       }
     }
   });