feat(goods): 添加商品管理模块
- 新增商品管理路由组件 - 添加文章管理子模块- 更新路径信息,注册新组件
This commit is contained in:
parent
75a1447d66
commit
fbed6d682e
@ -70,5 +70,7 @@
|
|||||||
"/src/view/systemTools/system/system.vue": "Config",
|
"/src/view/systemTools/system/system.vue": "Config",
|
||||||
"/src/plugin/announcement/form/info.vue": "InfoForm",
|
"/src/plugin/announcement/form/info.vue": "InfoForm",
|
||||||
"/src/plugin/announcement/view/info.vue": "Info",
|
"/src/plugin/announcement/view/info.vue": "Info",
|
||||||
"/src/plugin/email/view/index.vue": "Email"
|
"/src/plugin/email/view/index.vue": "Email",
|
||||||
|
"/src/view/goods/index.vue": "Goods",
|
||||||
|
"/src/view/goods/article/index.vue": "Article"
|
||||||
}
|
}
|
11
src/view/goods/article/index.vue
Normal file
11
src/view/goods/article/index.vue
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<template>
|
||||||
|
<div class="container">
|
||||||
|
文章管理
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
19
src/view/goods/index.vue
Normal file
19
src/view/goods/index.vue
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<router-view v-slot="{ Component }">
|
||||||
|
<transition mode="out-in" name="el-fade-in-linear">
|
||||||
|
<keep-alive :include="routerStore.keepAliveRouters">
|
||||||
|
<component :is="Component" />
|
||||||
|
</keep-alive>
|
||||||
|
</transition>
|
||||||
|
</router-view>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import { useRouterStore } from '@/pinia/modules/router'
|
||||||
|
const routerStore = useRouterStore()
|
||||||
|
defineOptions({
|
||||||
|
name: 'goods'
|
||||||
|
})
|
||||||
|
</script>
|
Loading…
Reference in New Issue
Block a user