oms/frontend/src/views/Generic.vue
liufumingren a51cb4df15 feat(frontend): 初始化 Vue3 + Vite 前端工程与业务页面
- 工程脚手架:Vite、TypeScript 配置、路由、Pinia store(auth/principal/menu)、请求封装
- 布局与通用组件:BasicLayout、SideMenu、DataTable/VirtualTable、VirtualSelect、ProductSelect、ImageUploader 等
- 业务页面:登录、首页、商品、店铺、店铺商品、组合商品、仓库/接口配置、库存、入库单、出库单、发货单(列表 + 创建)、外部接口、主体/主体用户、个人资料
- API 层:api/*.ts 与后端接口一一对应
2026-09-13 02:23:51 +08:00

19 lines
394 B
Vue

<script setup lang="ts">
import { useRoute } from 'vue-router'
const route = useRoute()
</script>
<template>
<el-card>
<template #header>{{ (route.meta.title as string) || '页面' }}</template>
<el-empty description="该模块页面建设中,菜单与路由已通过接口动态加载" />
</el-card>
</template>
<style scoped>
:deep(.el-empty) {
padding: 48px 0;
}
</style>