File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ declare module 'vue' {
2323 ElScrollbar : typeof import ( 'element-plus/es' ) [ 'ElScrollbar' ]
2424 ElSubMenu : typeof import ( 'element-plus/es' ) [ 'ElSubMenu' ]
2525 Header : typeof import ( './components/layout/Header.vue' ) [ 'default' ]
26- Icon : typeof import ( './components/base/Icon.vue' ) [ 'default' ]
2726 RouterLink : typeof import ( 'vue-router' ) [ 'RouterLink' ]
2827 RouterView : typeof import ( 'vue-router' ) [ 'RouterView' ]
2928 TreeMenu : typeof import ( './components/base/TreeMenu.vue' ) [ 'default' ]
Original file line number Diff line number Diff line change @@ -70,13 +70,18 @@ function getMenus(route: any, path: string) {
7070 width : 70px ;
7171 & ::before {
7272 width : 70px ;
73- content : ' ADMIN' ;
73+ background-image : url (' @/assets/logo.png' );
74+ background-repeat : no-repeat ;
75+ background-position : center ;
76+ background-size : auto 70% ;
77+ content : ' ' ;
7478 }
7579}
7680.v-leave-to {
7781 width : 200px ;
7882 & ::before {
7983 width : 200px ;
84+ background-image : none ;
8085 content : attr (data-text );
8186 }
8287}
You can’t perform that action at this time.
0 commit comments