fix: 修改语言切换

This commit is contained in:
MTrun
2021-12-22 15:31:20 +08:00
parent 5cfdcc68b7
commit 5cbdbf137d
16 changed files with 151 additions and 140 deletions
+3
View File
@@ -0,0 +1,3 @@
import LoadingContent from './index.vue';
export { LoadingContent };
+12
View File
@@ -0,0 +1,12 @@
<script lang="ts">
import { useLoadingBar } from 'naive-ui'
export default {
name: 'LoadingContent',
setup() {
// 挂载在 window 方便与在js中使用
window['$loading'] = useLoadingBar()
window['$loading'].finish()
}
}
</script>