File tree Expand file tree Collapse file tree 5 files changed +25
-15
lines changed Expand file tree Collapse file tree 5 files changed +25
-15
lines changed Original file line number Diff line number Diff line change 1111 "lint:nofix" : " vue-cli-service lint --no-fix"
1212 },
1313 "dependencies" : {
14- "@ant-design-vue/pro-layout" : " ^0.2.9 " ,
14+ "@ant-design-vue/pro-layout" : " ^0.2.10 " ,
1515 "@antv/data-set" : " ^0.10.2" ,
16- "ant-design-vue" : " 1.5.5 " ,
16+ "ant-design-vue" : " 1.6.0 " ,
1717 "axios" : " ^0.19.0" ,
1818 "core-js" : " ^3.1.2" ,
1919 "enquire.js" : " ^2.1.6" ,
Original file line number Diff line number Diff line change 11<template >
22 <div :class =" wrpCls" >
3- <avatar-dropdown :menu =" showMenu" :current-user =" currentUser" :class =" actionClassName " />
4- <select-lang :class =" actionClassName " />
3+ <avatar-dropdown :menu =" showMenu" :current-user =" currentUser" :class =" prefixCls " />
4+ <select-lang :class =" prefixCls " />
55 </div >
66</template >
77
@@ -16,6 +16,14 @@ export default {
1616 SelectLang
1717 },
1818 props: {
19+ prefixCls: {
20+ type: String ,
21+ default: ' ant-pro-global-header-index-action'
22+ },
23+ isMobile: {
24+ type: Boolean ,
25+ default : () => false
26+ },
1927 topMenu: {
2028 type: Boolean ,
2129 required: true
@@ -26,7 +34,6 @@ export default {
2634 }
2735 },
2836 data () {
29- this .actionClassName = ' ant-pro-global-header-index-action'
3037 return {
3138 showMenu: true ,
3239 currentUser: {}
@@ -36,7 +43,7 @@ export default {
3643 wrpCls () {
3744 return {
3845 ' ant-pro-global-header-index-right' : true ,
39- [` ant-pro-global-header-index-${ this .topMenu && this .theme || ' light' } ` ]: true
46+ [` ant-pro-global-header-index-${ ( this .topMenu && this . isMobile ) && this .theme || ' light' } ` ]: true
4047 }
4148 }
4249 },
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export default {
108108 this .isMobile = true
109109 this .collapsed = false
110110 this .settings .contentWidth = false
111- this .settings .fixSiderbar = false
111+ // this.settings.fixSiderbar = false
112112 }
113113 },
114114 handleCollapse (val ) {
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ const locale = {
1515 'menu.dashboard.monitor' : 'Monitor' ,
1616 'menu.dashboard.workplace' : 'Workplace' ,
1717
18+ 'layouts.usermenu.dialog.title' : 'Message' ,
19+ 'layouts.usermenu.dialog.content' : 'Do you really log-out.' ,
20+
1821 'app.setting.pagestyle' : 'Page style setting' ,
1922 'app.setting.pagestyle.light' : 'Light style' ,
2023 'app.setting.pagestyle.dark' : 'Dark style' ,
Original file line number Diff line number Diff line change 22# yarn lockfile v1
33
44
5- " @ant-design-vue/pro-layout@^0.2.9 " :
6- version "0.2.9 "
7- resolved "https://registry.npm.taobao.org/@ant-design-vue/pro-layout/download/@ant-design-vue/pro-layout-0.2.9 .tgz?cache=0&sync_timestamp=1589537984599&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40ant-design-vue%2Fpro-layout%2Fdownload%2F%40ant-design-vue%2Fpro-layout-0.2.9.tgz#eb6d439322fe50ff0add454bf24eab6342f92e75 "
8- integrity sha1-621DkyL+UP8K3UVL8k6rY0L5LnU =
5+ " @ant-design-vue/pro-layout@^0.2.10 " :
6+ version "0.2.10 "
7+ resolved "https://registry.npm.taobao.org/@ant-design-vue/pro-layout/download/@ant-design-vue/pro-layout-0.2.10 .tgz#f27c958480997d7cc780c051e887bd33008d97fa "
8+ integrity sha1-8nyVhICZfXzHgMBR6Ie9MwCNl/o =
99 dependencies :
1010 ant-design-vue "^1.5.3"
1111 classnames "^2.2.6"
@@ -1981,10 +1981,10 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:
19811981 " @types/color-name" " ^1.1.1"
19821982 color-convert "^2.0.1"
19831983
1984- ant-design-vue@1.5.5 :
1985- version "1.5.5 "
1986- resolved "https://registry.npm.taobao.org/ant-design-vue/download/ant-design-vue-1.5.5 .tgz#11e5fabedfb6f51ccedb3f7b1650d5f388157eb3 "
1987- integrity sha1-EeX6vt+29RzO2z97FlDV84gVfrM =
1984+ ant-design-vue@1.6.0 :
1985+ version "1.6.0 "
1986+ resolved "https://registry.npm.taobao.org/ant-design-vue/download/ant-design-vue-1.6.0 .tgz?cache=0&sync_timestamp=1589552419910&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fant-design-vue%2Fdownload%2Fant-design-vue-1.6.0.tgz#673e09e3ac56feb14154a711e52357fb7518cc32 "
1987+ integrity sha1-Zz4J46xW/rFBVKcR5SNX+3UYzDI =
19881988 dependencies :
19891989 " @ant-design/icons" " ^2.1.1"
19901990 " @ant-design/icons-vue" " ^2.0.0"
You canβt perform that action at this time.
0 commit comments