12345678910111213141516171819202122232425262728 |
- <template>
- <div class="tac flex-box nowrap max-box">
- <Right-Menu
- :menulist="menulist"
- class="minRightMenuWidth max-height"
- ></Right-Menu>
- <router-view class="minRightMenuWidth-body max-height" />
- </div>
- </template>
- <script>
- import RightMenu from "@/components/index/Rightmenu.vue";
- import { reactive, toRefs } from "@vue/reactivity";
- import { getTwolist } from "@/utils/routerrules";
- import { useRoute } from "vue-router";
- export default {
- components: {
- RightMenu,
- },
- setup() {
- const route = useRoute();
- const zbmxgl = reactive({
- menulist: getTwolist(route.path),
- });
- return { ...toRefs(zbmxgl) };
- },
- };
- </script>
|