mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-05 19:41:59 +08:00
fix: type error
This commit is contained in:
parent
c7483141ce
commit
a9626d3ace
2
src/typings/route.d.ts
vendored
2
src/typings/route.d.ts
vendored
@ -39,7 +39,7 @@ declare namespace AppRoute {
|
||||
/* 页面组件地址 */
|
||||
componentPath?: string | null
|
||||
/* 路由id */
|
||||
id: numnber
|
||||
id: number
|
||||
/* 父级路由id,顶级页面为null */
|
||||
pid: number | null
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ const emit = defineEmits<{
|
||||
const defaultFormModal: AppRoute.RowRoute = {
|
||||
'name': '',
|
||||
'path': '',
|
||||
'id': undefined,
|
||||
'id': -1,
|
||||
'pid': null,
|
||||
'meta.title': '',
|
||||
'meta.icon': '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user