mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-12-28 20:10:22 +08:00
first commit
This commit is contained in:
10
src/components/AppProvider/LoadingBar.vue
Normal file
10
src/components/AppProvider/LoadingBar.vue
Normal file
@@ -0,0 +1,10 @@
|
||||
<script setup>
|
||||
import { useLoadingBar } from 'naive-ui'
|
||||
window['$loadingBar'] = useLoadingBar()
|
||||
Object.defineProperty(window, '$loadingBar', {
|
||||
configurable: false,
|
||||
writable: false,
|
||||
})
|
||||
</script>
|
||||
|
||||
<template></template>
|
||||
Reference in New Issue
Block a user