完善页面

This commit is contained in:
wangxiaowei
2025-08-28 18:20:17 +08:00
parent fdaa01f801
commit e1a4f57610
27 changed files with 953 additions and 178 deletions

View File

@ -3,7 +3,7 @@ import { createSSRApp } from 'vue'
import App from './App.vue'
import { requestInterceptor } from './http/interceptor'
import { routeInterceptor } from './router/interceptor'
import navBar from '@/components/navbar.vue'
import NavBar from '@/components/Navbar.vue'
import store from './store'
import '@/style/index.scss'
@ -15,7 +15,7 @@ import { getNavBarHeight, getCapsuleOffset } from '@/utils/index'
export function createApp() {
const app = createSSRApp(App)
/* 注册全局组件 */
app.component('navBar', navBar) // 注册全局组件
app.component('NavBar', NavBar) // 注册全局组件
app.use(store)
app.use(routeInterceptor)