mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 菜单数据及组件接入
This commit is contained in:
@ -2,20 +2,10 @@
|
||||
<div>
|
||||
<h2>工作台</h2>
|
||||
<router-link :to="EnumRoutePath['dashboard-analysis']">analysis</router-link>
|
||||
<n-button @click="removeCurrent">去除</n-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { NButton } from 'naive-ui';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { EnumRoutePath } from '@/enum';
|
||||
import { RouteNameMap } from '@/router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
function removeCurrent() {
|
||||
router.removeRoute(RouteNameMap.get('dashboard-workbench')!);
|
||||
}
|
||||
</script>
|
||||
<style scoped></style>
|
||||
|
@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div class="relative flex-center w-full h-full bg-[#DBE0F9]">
|
||||
<login-bg />
|
||||
<div class="w-400px p-40px bg-white rounded-20px z-10">
|
||||
<header class="flex-y-center justify-between">
|
||||
<div class="w-70px h-70px rounded-35px overflow-hidden">
|
||||
@ -15,6 +14,7 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<login-bg />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
Reference in New Issue
Block a user