-
Notifications
You must be signed in to change notification settings - Fork 2
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
cole
committed
Jul 27, 2024
1 parent
6aeebba
commit 5ed16da
Showing
42 changed files
with
304 additions
and
219 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
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
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,6 @@ | ||
export default { | ||
403: 'You are not authorized to access this page', | ||
404: 'The page you visited does not exist', | ||
500: 'The server is wrong', | ||
backHome: 'Back Home' | ||
} |
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,16 +1,13 @@ | ||
export default { | ||
HomeIndex: 'Home', | ||
Form: 'Form', | ||
FormLayout: 'Form Layout', | ||
FormModal: 'Modal Form', | ||
FormDrawer: 'Drawer Form', | ||
FormFilter: 'Filter Form', | ||
Table: 'Table', | ||
TableIndex: 'Table', | ||
TableCustomSearch: 'Custom Search', | ||
TableEditableTable: 'Editable Table', | ||
Descriptions: 'Descriptions', | ||
DescriptionsIndex: 'Descriptions', | ||
Test: 'Test', | ||
TestIndex: 'Test' | ||
FormBasicForm: 'Basic Form', | ||
FormFloatingForm: 'Floating Form', | ||
List: 'List', | ||
ListTable: 'Query Table', | ||
ListEditableTable: 'Editable Table', | ||
Exception: 'Exception', | ||
Examples: 'Examples', | ||
ExamplesDescriptions: 'Descriptions', | ||
ExamplesTest: 'Test' | ||
} |
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,6 @@ | ||
export default { | ||
403: '您无权访问此页面', | ||
404: '您访问的页面不存在', | ||
500: '服务器错误', | ||
backHome: '返回首页' | ||
} |
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,16 +1,13 @@ | ||
export default { | ||
HomeIndex: '首页', | ||
Form: '表单', | ||
FormLayout: '表单布局', | ||
FormModal: '浮层表单', | ||
FormDrawer: '抽屉表单', | ||
FormFilter: '筛选表单', | ||
Table: '表格', | ||
TableIndex: '表格', | ||
TableCustomSearch: '自定义搜索', | ||
TableEditableTable: '可编辑表格', | ||
Descriptions: '描述列表', | ||
DescriptionsIndex: '描述列表', | ||
Test: '测试', | ||
TestIndex: '测试' | ||
Form: '表单页', | ||
FormBasicForm: '基础表单', | ||
FormFloatingForm: '浮层表单', | ||
List: '列表页', | ||
ListTable: '查询表格', | ||
ListEditableTable: '可编辑表格', | ||
Exception: '异常页', | ||
Examples: '组件展示', | ||
ExamplesDescriptions: '描述列表', | ||
ExamplesTest: '测试' | ||
} |
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,11 +1,11 @@ | ||
## META | ||
|
||
| 属性 | 说明 | 类型 | 默认值 | | ||
|------------|-----------------------------|--------------------|-----| | ||
| title | 导航栏 title | string | - | | ||
| icon | 导航栏 icon | string \| function | - | | ||
| hideInMenu | 设为 true 后在左侧菜单不会显示该页面选项 | boolean | - | | ||
| hltInName | 高亮的路由 name | string | - | | ||
| access | 可访问该页面的权限数组 当前路由设置的权限会影响子路由 | string \| number | - | | ||
| notCache | 设为 true 后 KeepAlive 混缓存页面 | boolean | - | | ||
| 属性 | 说明 | 类型 | 默认值 | | ||
|------------|-----------------------------|-----------------------------|-----| | ||
| title | 导航栏 title | string | - | | ||
| icon | 导航栏 icon | string \| function \| false | - | | ||
| hideInMenu | 设为 true 后在左侧菜单不会显示该页面选项 | boolean | - | | ||
| hltInName | 高亮的路由 name | string | - | | ||
| access | 可访问该页面的权限数组 当前路由设置的权限会影响子路由 | string \| number | - | | ||
| notCache | 设为 true 后 KeepAlive 混缓存页面 | boolean | - | | ||
|
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,43 @@ | ||
import Error403 from '@/views/error-pages/403' | ||
import Error404 from '@/views/error-pages/404' | ||
import Error500 from '@/views/error-pages/500' | ||
|
||
const errorPages = [ | ||
{ | ||
path: '/403', | ||
name: 'Error403', | ||
meta: { | ||
hideInMenu: true, | ||
notCache: true | ||
}, | ||
component: Error403 | ||
}, | ||
{ | ||
path: '/404', | ||
name: 'Error404', | ||
meta: { | ||
hideInMenu: true, | ||
notCache: true | ||
}, | ||
component: Error404 | ||
}, | ||
{ | ||
path: '/500', | ||
name: 'Error500', | ||
meta: { | ||
hideInMenu: true, | ||
notCache: true | ||
}, | ||
component: Error500 | ||
}, | ||
{ | ||
path: '/:pathMatch(.*)*', | ||
meta: { | ||
hideInMenu: true, | ||
notCache: true | ||
}, | ||
component: Error404 | ||
} | ||
] | ||
|
||
export default errorPages |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.