diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 0588c1354..65d299a48 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -8,7 +8,7 @@
text-color="#fff"
active-text-color="#ffd04b"
>
-
+
@@ -67,7 +67,7 @@
-
+
@@ -77,6 +77,7 @@ import { mapGetters } from 'vuex';
import UserLogout from './Logout';
import QuickEntry from './Entry';
import SystemTitle from './Title';
+import { getSessionStorage } from '@/utils/auth';
export default {
components: {
@@ -86,7 +87,8 @@ export default {
},
data() {
return {
- routes: []
+ routes: [],
+ isShow:false,
};
},
computed: {
@@ -96,7 +98,13 @@ export default {
])
},
mounted() {
- this.routes = this.$router.options.routes;
+ this.routes = this.$router.options.routes;
+ if (getSessionStorage('design')) {
+ this.isShow=false;
+ }
+ else{
+ this.isShow=true;
+ }
},
methods: {
toggleSideBar() {
diff --git a/src/layout/components/Title.vue b/src/layout/components/Title.vue
index 5412b5b5e..765ca1c44 100644
--- a/src/layout/components/Title.vue
+++ b/src/layout/components/Title.vue
@@ -1,25 +1,19 @@
-