jinhui.wang

增加版本号展示,修改变量名

<template>
<div :class="{'has-logo':showLogo}" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBg : variables.menuLightBg }">
<div
:class="{ 'has-logo': showLogo }"
:style="{
backgroundColor:
settings.sideTheme === 'theme-dark'
? variables.menuBg
: variables.menuLightBg,
}"
>
<logo v-if="showLogo" :collapse="isCollapse" />
<!-- <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper"> -->
<el-menu
:default-active="activeMenu"
:collapse="isCollapse"
:background-color="settings.sideTheme === 'theme-dark' ? variables.menuBg : variables.menuLightBg"
:text-color="settings.sideTheme === 'theme-dark' ? variables.menuText : 'rgba(0,0,0,.65)'"
:background-color="
settings.sideTheme === 'theme-dark'
? variables.menuBg
: variables.menuLightBg
"
:text-color="
settings.sideTheme === 'theme-dark'
? variables.menuText
: 'rgba(0,0,0,.65)'
"
:unique-opened="true"
:active-text-color="settings.theme"
:collapse-transition="false"
......@@ -19,6 +35,7 @@
:base-path="route.path"
/>
</el-menu>
<div class="version">version:0.5.1</div>
<!-- </el-scrollbar> -->
</div>
</template>
......@@ -51,7 +68,18 @@ export default {
},
isCollapse() {
return !this.sidebar.opened;
}
}
},
},
};
</script>
<style scoped>
.version {
width: 100%;
font-size: 14px;
color: #fff;
position: absolute;
left: 5px;
bottom: 5px;
}
</style>
......
......@@ -5,7 +5,7 @@ const mimeMap = {
xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
zip: 'application/zip'
}
// const baseURL = 'https://imacuat.zmd.apac.fedex.com/IMAC2'
// const baseUrl = 'https://imacuat.zmd.apac.fedex.com/IMAC2'
// const baseUrl = 'http://47.103.140.98:9002'
const baseUrl = 'http://192.168.1.134:18080'
export function downLoadZip(str, filename) {
......