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:
parent
a96f9dc5b0
commit
ef3968d764
@ -43,6 +43,7 @@ const router = useRouter()
|
||||
:dropdown-menus="dropdownMenus"
|
||||
@update:current="
|
||||
(name: string) => {
|
||||
console.log(name)
|
||||
router.push({ name })
|
||||
}
|
||||
"
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user