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"
|
:dropdown-menus="dropdownMenus"
|
||||||
@update:current="
|
@update:current="
|
||||||
(name: string) => {
|
(name: string) => {
|
||||||
|
console.log(name)
|
||||||
router.push({ name })
|
router.push({ name })
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
@ -5,10 +5,10 @@ import Layout from '../layouts/MenusLayout.vue'
|
|||||||
|
|
||||||
const routes: RouteRecordRaw[] = [
|
const routes: RouteRecordRaw[] = [
|
||||||
{
|
{
|
||||||
path: '/organization',
|
path: '/enterprise',
|
||||||
name: 'organization',
|
name: 'enterprise',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: '/organization/index',
|
redirect: '/enterprise/index',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'index',
|
path: 'index',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user