-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(form): fix updateSchema error #100
- Loading branch information
Showing
9 changed files
with
114 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
export { default as BasicForm } from './src/BasicForm.vue'; | ||
import BasicFormLib from './src/BasicForm.vue'; | ||
import { withInstall } from '../util'; | ||
|
||
export * from './src/types/form'; | ||
export * from './src/types/formItem'; | ||
|
||
export { useComponentRegister } from './src/hooks/useComponentRegister'; | ||
export { useForm } from './src/hooks/useForm'; | ||
|
||
export const BasicForm = withInstall(BasicFormLib); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,33 @@ | ||
import type { MenuModule } from '/@/router/types.d'; | ||
|
||
const menu: MenuModule = { | ||
orderNo: 10, | ||
menu: { | ||
name: 'routes.dashboard.dashboard', | ||
path: '/dashboard', | ||
children: [ | ||
{ | ||
path: '/workbench', | ||
name: 'routes.dashboard.workbench', | ||
}, | ||
{ | ||
path: '/analysis', | ||
name: 'routes.dashboard.analysis', | ||
}, | ||
{ | ||
path: '/welcome', | ||
name: 'routes.dashboard.welcome', | ||
}, | ||
], | ||
const menu: MenuModule[] = [ | ||
{ | ||
orderNo: 0, | ||
menu: { | ||
path: '/dashboard/welcome', | ||
name: 'routes.dashboard.welcome', | ||
}, | ||
}, | ||
}; | ||
{ | ||
orderNo: 10, | ||
menu: { | ||
name: 'routes.dashboard.dashboard', | ||
path: '/dashboard', | ||
children: [ | ||
{ | ||
path: '/workbench', | ||
name: 'routes.dashboard.workbench', | ||
}, | ||
{ | ||
path: '/analysis', | ||
name: 'routes.dashboard.analysis', | ||
}, | ||
// { | ||
// path: '/welcome', | ||
// name: 'routes.dashboard.welcome', | ||
// }, | ||
], | ||
}, | ||
}, | ||
]; | ||
export default menu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters