Vben
2021-04-07 5b8eb4a49a097a47caf491c44df427522ab58daa
src/directives/loading.ts
@@ -5,14 +5,12 @@
  mounted(el, binding) {
    const tip = el.getAttribute('loading-tip');
    const background = el.getAttribute('loading-background');
    const theme = el.getAttribute('loading-theme');
    const size = el.getAttribute('loading-size');
    const fullscreen = !!binding.modifiers.fullscreen;
    const instance = createLoading(
      {
        tip,
        background,
        theme,
        size: size || 'large',
        loading: !!binding.value,
        absolute: !fullscreen,