feat: 接口对接完成

This commit is contained in:
anonymous
2025-01-03 16:44:05 +08:00
parent 0889d068a8
commit 2d19bbce4c
37 changed files with 1220 additions and 398 deletions
+4 -9
View File
@@ -1,27 +1,22 @@
import { createSSRApp } from 'vue'
import App from './App.vue'
import store from './store'
import i18n from './locale/index'
import {
routeInterceptor,
routerBeforeEachConfig,
requestInterceptor,
prototypeInterceptor,
} from './interceptors'
import { requestInterceptor, prototypeInterceptor, routerBeforeEachConfig } from './interceptors'
import 'virtual:uno.css'
import '@/style/index.scss'
export function createApp() {
const app = createSSRApp(App)
app.use(store)
app.use(i18n)
app.use(routeInterceptor)
// app.use(routeInterceptor)
app.use(requestInterceptor)
app.use(prototypeInterceptor)
setTimeout(() => {
routerBeforeEachConfig((app as any).router)
}, 0)
return {
app,
}