| 1234567891011121314151617181920212223242526272829303132333435 |
- <template>
- <!-- 仓库信息 -->
- <div class="warehouse-info">
- <firstMenu :list="list"
- :value="'title'"
- @selectMenu="selectMenu" />
- <router-view />
- </div>
- </template>
- <script lang="ts">
- import { defineComponent } from 'vue';
- import firstMenu from '@/components/firstMenu/index.vue';
- import { handleRouterMenu } from '@/setup/router/index';
- import { initData } from '@/setup/methods/index';
- export default defineComponent({
- name: 'warehouse-info',
- components: {
- firstMenu,
- },
- setup() {
- const { list, selectMenu, getMenuList } = handleRouterMenu();
- initData(() => {
- getMenuList();
- });
- return { list, selectMenu };
- },
- });
- </script>
- <style lang="less">
- .warehouse-info {
- }
- </style>;
|