From 566fae5916d6a80f734ced7829b17e20257c16c8 Mon Sep 17 00:00:00 2001
From: liangping <18786721@qq.com>
Date: Thu, 25 Aug 2022 11:28:46 +0800
Subject: [PATCH] improve breadcrumb
---
src/@core/layouts/components/AppBreadcrumb.vue | 11 +++++++++++
src/router/index.js | 4 ++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/@core/layouts/components/AppBreadcrumb.vue b/src/@core/layouts/components/AppBreadcrumb.vue
index 9fe50837..929fd432 100644
--- a/src/@core/layouts/components/AppBreadcrumb.vue
+++ b/src/@core/layouts/components/AppBreadcrumb.vue
@@ -24,6 +24,12 @@
class="align-text-top"
/>
+
+ {{ chainname }}
+
diff --git a/src/router/index.js b/src/router/index.js
index 94df354f..ffb8425d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -124,10 +124,10 @@ const router = new VueRouter({
alias: '/:chain',
component: () => import('@/views/Dashboard.vue'),
meta: {
- pageTitle: 'Home',
+ pageTitle: 'Dashboard',
breadcrumb: [
{
- text: 'Home',
+ text: 'Dashboard',
active: true,
},
],