qj-common 4.2.4 → 4.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qj-common",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "common files && template for qj-paas",
5
5
  "scripts": {
6
6
  "gulp": "gulp css"
@@ -5,7 +5,7 @@
5
5
  :style="{'height':heightAll+'px'}"
6
6
  >
7
7
  <div class="tool-menu-svg">
8
- <a class="logo-container" :href="indexHref">
8
+ <a class="logo-container" @click="navigator">
9
9
  <!-- :href="indexHref" -->
10
10
  <img :src="logoImg" />
11
11
  </a>
@@ -87,6 +87,10 @@ export default {
87
87
  this.secDomainName=sessionStorage.getItem('secDomainName')?sessionStorage.getItem('secDomainName'):null
88
88
  },
89
89
  methods: {
90
+ navigator() {
91
+ window.sessionStorage.setItem("menuCode", '');
92
+ window.location.href = process.env.API_ROOT + this.indexHref;
93
+ },
90
94
  openHref(item) {
91
95
  window.sessionStorage.setItem("menuCode", item.proappModelCode);
92
96
  this.handlerMenu(item);
@@ -11,7 +11,7 @@
11
11
  <div class="navbar-title">
12
12
  <!-- <i class="icon-liebiaoxiangyou iconfont"></i> -->
13
13
  <ul class="flex">
14
- <li>{{ firstLevelMenu }}</li>
14
+ <li>{{ firstLevelMenu || '首页' }}</li>
15
15
  <li v-if="secondLevelMenu">
16
16
  <i>/</i>
17
17
  {{ secondLevelMenu }}