feat(print): add print example

This commit is contained in:
Vben
2021-03-28 00:04:19 +08:00
parent bb67692cfd
commit 2f99892d96
11 changed files with 139 additions and 98 deletions

View File

@@ -6,31 +6,20 @@ const menu: MenuModule = {
menu: {
name: t('routes.demo.charts.charts'),
path: '/charts',
tag: {
content: 'new',
},
children: [
{
path: 'aMap',
name: t('routes.demo.charts.aMap'),
tag: {
dot: true,
},
},
{
path: 'baiduMap',
name: t('routes.demo.charts.baiduMap'),
tag: {
dot: true,
},
},
{
path: 'googleMap',
name: t('routes.demo.charts.googleMap'),
tag: {
dot: true,
},
},
{
path: 'apexChart',

View File

@@ -6,9 +6,7 @@ const menu: MenuModule = {
menu: {
name: t('routes.demo.comp.comp'),
path: '/comp',
tag: {
dot: true,
},
children: [
{
path: 'basic',
@@ -123,9 +121,6 @@ const menu: MenuModule = {
{
path: 'timestamp',
name: t('routes.demo.comp.time'),
tag: {
content: 'new',
},
},
{
path: 'transition',
@@ -163,10 +158,7 @@ const menu: MenuModule = {
{
path: 'tree',
name: t('routes.demo.comp.tree'),
tag: {
dot: true,
type: 'warn',
},
children: [
{
path: 'basic',
@@ -175,10 +167,6 @@ const menu: MenuModule = {
{
path: 'editTree',
name: t('routes.demo.comp.editTree'),
tag: {
dot: true,
type: 'warn',
},
},
{
path: 'actionTree',

View File

@@ -14,16 +14,10 @@ const menu: MenuModule = {
{
path: 'icon',
name: t('routes.demo.feat.icon'),
tag: {
content: 'new',
},
},
{
path: 'ws',
name: t('routes.demo.feat.ws'),
tag: {
content: 'new',
},
},
{
path: 'tabs',
@@ -38,6 +32,13 @@ const menu: MenuModule = {
path: 'download',
name: t('routes.demo.feat.download'),
},
{
path: 'print',
name: t('routes.demo.feat.print'),
tag: {
content: 'new',
},
},
{
path: 'click-out-side',
name: t('routes.demo.feat.clickOutSide'),
@@ -98,14 +99,14 @@ const menu: MenuModule = {
path: 'breadcrumb',
children: [
{
path: 'flat',
name: t('routes.demo.feat.breadcrumbFlat'),
},
{
path: 'flatDetail',
name: t('routes.demo.feat.breadcrumbFlatDetail'),
},
// {
// path: 'flat',
// name: t('routes.demo.feat.breadcrumbFlat'),
// },
// {
// path: 'flatDetail',
// name: t('routes.demo.feat.breadcrumbFlatDetail'),
// },
{
path: 'children',
name: t('routes.demo.feat.breadcrumbChildrenDetail'),

View File

@@ -6,9 +6,6 @@ const menu: MenuModule = {
menu: {
name: t('routes.demo.system.moduleName'),
path: '/system',
tag: {
content: 'new',
},
children: [
{
path: 'account',