caner 2 years ago
parent
commit
8911070e40
3 changed files with 3 additions and 3 deletions
  1. 1 1
      src/components/loading.vue
  2. 1 1
      src/pages/App.vue
  3. 1 1
      src/pages/main.ts

+ 1 - 1
src/components/loading.vue

@@ -3,7 +3,7 @@
     <div class="loader" />
     <div class="loader" />
   </div>
   </div>
 </template>
 </template>
-<style lang="less" scoped>
+<style lang="scss" scoped>
     .bg{
     .bg{
         width: 100vw;
         width: 100vw;
         height: 100vh;
         height: 100vh;

+ 1 - 1
src/pages/App.vue

@@ -17,7 +17,7 @@ import loading from '@/components/loading.vue'
 import useStore from './store/index'
 import useStore from './store/index'
 import { computed } from 'vue'
 import { computed } from 'vue'
 import { zhCN, dateZhCN } from 'naive-ui'
 import { zhCN, dateZhCN } from 'naive-ui'
-import Theme from '@/assets/naiveTheme.json'
+import Theme from '@/assets/naive-theme.json'
 
 
 const store = useStore()
 const store = useStore()
 const show = computed(() => store.loading)
 const show = computed(() => store.loading)

+ 1 - 1
src/pages/main.ts

@@ -1,7 +1,7 @@
 import { createApp } from 'vue'
 import { createApp } from 'vue'
 import App from './App.vue'
 import App from './App.vue'
 import { createPinia } from 'pinia'
 import { createPinia } from 'pinia'
-import naive from '../assets/native-plugin'
+import naive from '@/assets/native-plugin'
 import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
 import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
 
 
 // 动态路由
 // 动态路由