-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
668 additions
and
492 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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// generated by unplugin-vue-components | ||
// We suggest you to commit this file into source control | ||
// Read more: https://github.com/vuejs/vue-next/pull/3399 | ||
|
||
declare module 'vue' { | ||
export interface GlobalComponents { | ||
ACard: typeof import('ant-design-vue/es')['Card']; | ||
AForm: typeof import('ant-design-vue/es')['Form']; | ||
AFormItem: typeof import('ant-design-vue/es')['FormItem']; | ||
AInput: typeof import('ant-design-vue/es')['Input']; | ||
AInputSearch: typeof import('ant-design-vue/es')['InputSearch']; | ||
ALayout: typeof import('ant-design-vue/es')['Layout']; | ||
ALayoutContent: typeof import('ant-design-vue/es')['LayoutContent']; | ||
ALayoutSider: typeof import('ant-design-vue/es')['LayoutSider']; | ||
BasicBasicHelp: typeof import('./src/components/basic/basic-help/index.vue')['default']; | ||
BasicButtonButton: typeof import('./src/components/basic/button/button.vue')['default']; | ||
BasicCheckBox: typeof import('./src/components/basic/check-box/index.vue')['default']; | ||
BasicContextMenuSrcContextMenu: typeof import('./src/components/basic/context-menu/src/ContextMenu.vue')['default']; | ||
BasicExcelSrcImportExcel: typeof import('./src/components/basic/excel/src/ImportExcel.vue')['default']; | ||
BasicIconsSelect: typeof import('./src/components/basic/icons-select/index.vue')['default']; | ||
BasicLocalePicker: typeof import('./src/components/basic/locale-picker/index.vue')['default']; | ||
BasicLockscreen: typeof import('./src/components/basic/lockscreen/index.vue')['default']; | ||
BasicLockscreenHuaweiCharge: typeof import('./src/components/basic/lockscreen/huawei-charge.vue')['default']; | ||
BasicLockscreenLockscreen: typeof import('./src/components/basic/lockscreen/lockscreen.vue')['default']; | ||
BasicLockscreenXiaomiCharge: typeof import('./src/components/basic/lockscreen/xiaomi-charge.vue')['default']; | ||
BasicProgress: typeof import('./src/components/basic/progress/index.vue')['default']; | ||
BasicSplitPanel: typeof import('./src/components/basic/split-panel/index.vue')['default']; | ||
BasicSvgIconSvgIcon: typeof import('./src/components/basic/svg-icon/svg-icon.vue')['default']; | ||
BasicTitleI18n: typeof import('./src/components/basic/title-i18n/index.vue')['default']; | ||
CoreDraggableModal: typeof import('./src/components/core/draggable-modal/index.vue')['default']; | ||
CoreDynamicTableComponentsQueryForm: typeof import('./src/components/core/dynamic-table/components/query-form/index.vue')['default']; | ||
CoreDynamicTableComponentsTableAction: typeof import('./src/components/core/dynamic-table/components/table-action.vue')['default']; | ||
CoreDynamicTableComponentsTableSettings: typeof import('./src/components/core/dynamic-table/components/table-settings/index.vue')['default']; | ||
CoreDynamicTableComponentsTableSettingsColumnSetting: typeof import('./src/components/core/dynamic-table/components/table-settings/column-setting.vue')['default']; | ||
CoreDynamicTableComponentsTableSettingsRefreshSetting: typeof import('./src/components/core/dynamic-table/components/table-settings/refresh-setting.vue')['default']; | ||
CoreDynamicTableComponentsTableSettingsSizeSetting: typeof import('./src/components/core/dynamic-table/components/table-settings/size-setting.vue')['default']; | ||
CoreDynamicTableComponentsToolBar: typeof import('./src/components/core/dynamic-table/components/tool-bar/index.vue')['default']; | ||
CoreDynamicTableDynamicTable: typeof import('./src/components/core/dynamic-table/dynamic-table.vue')['default']; | ||
CoreSchemaFormSchemaForm: typeof import('./src/components/core/schema-form/schema-form.vue')['default']; | ||
CoreSchemaFormSchemaFormItem: typeof import('./src/components/core/schema-form/schema-form-item.vue')['default']; | ||
} | ||
} | ||
|
||
export {}; |
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 was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export default { | ||
settings: 'settings', | ||
about: 'about', | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export default { | ||
settings: '个人设置', | ||
about: '关于', | ||
}; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { type RouteRecordRaw } from 'vue-router'; | ||
import RouterView from '@/layout/routerView/index.vue'; | ||
import { t } from '@/hooks/useI18n'; | ||
|
||
const moduleName = 'account'; | ||
|
||
const routes: Array<RouteRecordRaw> = [ | ||
{ | ||
path: '/account', | ||
component: RouterView, | ||
redirect: '/account/settings', | ||
meta: { | ||
title: '个人中心', | ||
hideInMenu: true, | ||
}, | ||
children: [ | ||
{ | ||
path: 'settings', | ||
name: `${moduleName}-settings`, | ||
component: () => import('@/views/account/settings.vue'), | ||
meta: { title: t('routes.account.settings'), hideInMenu: true }, | ||
}, | ||
{ | ||
path: 'about', | ||
name: `${moduleName}-about`, | ||
component: () => import('@/views/account/about.vue'), | ||
meta: { title: t('routes.account.about'), hideInMenu: true }, | ||
}, | ||
], | ||
}, | ||
]; | ||
|
||
export default routes; |
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,5 +1,6 @@ | ||
import dashboard from './dashboard'; | ||
import demos from './demos'; | ||
import externaLink from './externa-link'; | ||
import account from './account'; | ||
|
||
export default [...dashboard, ...demos, ...externaLink]; | ||
export default [...dashboard, ...demos, ...externaLink, ...account]; |
Oops, something went wrong.