mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-08 15:32:28 +08:00
13 lines
262 B
Vue
13 lines
262 B
Vue
<template></template>
|
|
<script lang="ts">
|
|
import { useLoadingBar } from 'naive-ui';
|
|
|
|
export default {
|
|
name: 'LoadingContent',
|
|
setup() {
|
|
//挂载在 window 方便与在js中使用
|
|
window['$loading'] = useLoadingBar();
|
|
},
|
|
};
|
|
</script>
|