Skip to content

Commit

Permalink
feature: add date components
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed May 24, 2022
1 parent bf09c46 commit 5e501cc
Show file tree
Hide file tree
Showing 6 changed files with 1,122 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/locales/en/modules/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const route = {
countTo: 'DigitalAnimation',
form: 'Form',
seamlessScroll: 'SeamlessScroll',
date: 'Date',
table: 'Table',
echarts: 'Echarts',
echarts_bar: 'Bar',
Expand Down
1 change: 1 addition & 0 deletions src/locales/zh-ch/modules/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const route = {
countTo: '数字动画',
form: '表单',
seamlessScroll: '无限滚动',
date: '日期组件',
table: '表格',
echarts: '图表',
echarts_bar: '柱状图',
Expand Down
8 changes: 7 additions & 1 deletion src/router/modules/otherRoute/otherRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const safeManagerRoutes: Array<AppRouteRecordRaw> = [
{
path: 'table',
name: 'RtTable',
component: () => import('@/views/components/table/index.vue'),
component: () => import('@/views/components/TablePage/index.vue'),
meta: { title: t('route.pathName.table') },
},
{
Expand All @@ -62,6 +62,12 @@ const safeManagerRoutes: Array<AppRouteRecordRaw> = [
component: () => import('@/views/components/seamless-scroll/index.vue'),
meta: { title: t('route.pathName.seamlessScroll') },
},
{
path: 'date',
name: 'RtDate',
component: () => import('@/views/components/date/index.vue'),
meta: { title: t('route.pathName.date') },
},
],
},
{
Expand Down
Loading

0 comments on commit 5e501cc

Please sign in to comment.