Fixed #5912 - BlockUI bug SSR: when I reload the page I get the following error
parent
16822d4cd8
commit
2eb5b4aa3b
|
@ -5,7 +5,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { createElement, blockBodyScroll, addClass, hasCSSAnimation, unblockBodyScroll } from '@primeuix/utils/dom';
|
import { addClass, blockBodyScroll, createElement, hasCSSAnimation, unblockBodyScroll } from '@primeuix/utils/dom';
|
||||||
import { ZIndex } from '@primeuix/utils/zindex';
|
import { ZIndex } from '@primeuix/utils/zindex';
|
||||||
import BaseBlockUI from './BaseBlockUI.vue';
|
import BaseBlockUI from './BaseBlockUI.vue';
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ export default {
|
||||||
document.body.removeChild(this.mask);
|
document.body.removeChild(this.mask);
|
||||||
unblockBodyScroll();
|
unblockBodyScroll();
|
||||||
} else {
|
} else {
|
||||||
this.$refs.container.removeChild(this.mask);
|
this.$refs.container?.removeChild(this.mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.isBlocked = false;
|
this.isBlocked = false;
|
||||||
|
|
Loading…
Reference in New Issue