重写复现方法

This commit is contained in:
2025-09-01 18:18:44 +08:00
parent 7c11c1519b
commit 5d3d515b8e
41 changed files with 4249 additions and 5952 deletions

View File

@@ -1,4 +1,14 @@
// src/main.ts
import { createApp } from 'vue'
import App from './App.vue'
import router from './router' // 新增
import { createPinia } from 'pinia'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/reset.css'
createApp(App).mount('#app')
const app = createApp(App)
app.use(createPinia()) // 注册Pinia
app.use(router) // 注册路由
app.use(Antd) // 注册Ant Design Vue
app.mount('#app')