demo: 补 tag.vue / product.vue 页面壳

VueAdmin 按 moduleKey 自动找 @/module/<key>.vue,demo 后端注册了 tag/product
两个模块但前端只剩 user.vue/role.vue,导致路由 404。两个文件都是 <ShrimpTable
moduleKey="..." /> 一行壳,业务由框架自动渲染。
This commit is contained in:
2026-05-23 15:33:35 +08:00
parent 27a2348815
commit fea7c16d65
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,7 @@
<template>
<ShrimpTable moduleKey="product" />
</template>
<script lang="ts" setup>
import ShrimpTable from '@/components/ShrimpTable.vue'
</script>
@@ -0,0 +1,7 @@
<template>
<ShrimpTable moduleKey="tag" />
</template>
<script lang="ts" setup>
import ShrimpTable from '@/components/ShrimpTable.vue'
</script>