1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

fix: organization routes error

Signed-off-by: Kaifuny <superbiger.github@gmail.com>
This commit is contained in:
Kaifuny 2023-07-20 02:58:44 +08:00
parent a96f9dc5b0
commit ef3968d764
2 changed files with 4 additions and 3 deletions

View File

@ -43,6 +43,7 @@ const router = useRouter()
:dropdown-menus="dropdownMenus"
@update:current="
(name: string) => {
console.log(name)
router.push({ name })
}
"

View File

@ -5,10 +5,10 @@ import Layout from '../layouts/MenusLayout.vue'
const routes: RouteRecordRaw[] = [
{
path: '/organization',
name: 'organization',
path: '/enterprise',
name: 'enterprise',
component: Layout,
redirect: '/organization/index',
redirect: '/enterprise/index',
children: [
{
path: 'index',