A: 实现树状结构示例并添加点击事件处理逻辑 A: 新增 `pnpm-lock.yaml` 文件,记录依赖版本及锁定信息 U: 更新 HomeView,布局中集成 Element Plus 的 `Tree` 组件与响应式布局
22 lines
416 B
TypeScript
22 lines
416 B
TypeScript
import './assets/main.css'
|
|
import 'virtual:uno.css'
|
|
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
|
|
import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
|
|
const app = createApp(App)
|
|
|
|
app.use(createPinia())
|
|
app.use(router)
|
|
app.use(ElementPlus)
|
|
|
|
app.mount('#app')
|
|
|
|
// 注册 C# 函数
|
|
window.externalFunctions = {};
|