Skip to content

Commit

Permalink
feat: 新增 useCrudSchemas demo
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong321200875 committed Aug 26, 2023
1 parent c0f4517 commit ae0628e
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 232 deletions.
18 changes: 9 additions & 9 deletions mock/role/index.ts
Expand Up @@ -345,15 +345,15 @@ const adminList = [
meta: {
title: 'useValidator'
}
},
{
path: 'useCrudSchemas',
component: 'views/hooks/useCrudSchemas',
name: 'UseCrudSchemas',
meta: {
title: 'useCrudSchemas'
}
}
// {
// path: 'useCrudSchemas',
// component: 'views/hooks/useCrudSchemas',
// name: 'UseCrudSchemas',
// meta: {
// title: 'useCrudSchemas'
// }
// }
]
},
{
Expand Down Expand Up @@ -616,7 +616,7 @@ const testList: string[] = [
'/hooks/useWatermark',
'/hooks/useTagsView',
'/hooks/useValidator',
// '/hooks/useCrudSchemas',
'/hooks/useCrudSchemas',
'/level',
'/level/menu1',
'/level/menu1/menu1-1',
Expand Down
2 changes: 1 addition & 1 deletion src/components/JsonEditor/src/JsonEditor.vue
Expand Up @@ -17,7 +17,7 @@ const props = defineProps({
type: Object,
default: () => ({})
},
deep: propTypes.number.def(1),
deep: propTypes.number.def(5),
showLength: propTypes.bool.def(true),
showLineNumbers: propTypes.bool.def(true),
showLineNumber: propTypes.bool.def(true),
Expand Down
16 changes: 8 additions & 8 deletions src/router/index.ts
Expand Up @@ -387,15 +387,15 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
meta: {
title: 'useValidator'
}
},
{
path: 'useCrudSchemas',
component: () => import('@/views/hooks/useCrudSchemas.vue'),
name: 'UseCrudSchemas',
meta: {
title: 'useCrudSchemas'
}
}
// {
// path: 'useCrudSchemas',
// component: () => import('@/views/hooks/useCrudSchemas.vue'),
// name: 'UseCrudSchemas',
// meta: {
// title: 'useCrudSchemas'
// }
// }
]
},
{
Expand Down

0 comments on commit ae0628e

Please sign in to comment.