wip: add cropper iamge component

This commit is contained in:
Vben
2021-03-29 22:48:13 +08:00
parent 39d629a029
commit 2e11ea677b
15 changed files with 222 additions and 43 deletions

View File

@@ -6,7 +6,9 @@ const menu: MenuModule = {
menu: {
name: t('routes.demo.comp.comp'),
path: '/comp',
tag: {
dot: true,
},
children: [
{
path: 'basic',
@@ -114,6 +116,13 @@ const menu: MenuModule = {
},
],
},
{
path: 'cropper',
name: t('routes.demo.comp.cropperImage'),
tag: {
content: 'new',
},
},
{
path: 'countTo',
name: t('routes.demo.comp.countTo'),

View File

@@ -232,6 +232,14 @@ const comp: AppRouteModule = {
title: t('routes.demo.comp.transition'),
},
},
{
path: 'cropper',
name: 'CropperDemo',
component: () => import('/@/views/demo/comp/cropper/index.vue'),
meta: {
title: t('routes.demo.comp.cropperImage'),
},
},
{
path: 'timestamp',
name: 'TimeDemo',