eoss-ui 0.7.87 → 0.7.88

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.
@@ -783,12 +783,12 @@ export default {
783
783
  this.isLoadHomePage = false;
784
784
  }
785
785
  this.isHeader = params.header;
786
-
787
786
  this.doorIndex = sessionStorage.getItem('doorIndex');
788
787
  },
789
788
  mounted() {
790
789
  this.handleListener();
791
790
  util.win.addEventListener('popstate', this.stateHandle, false);
791
+ // this.
792
792
  },
793
793
  methods: {
794
794
  stateHandle() {
@@ -1403,6 +1403,7 @@ export default {
1403
1403
  } else {
1404
1404
  this.menu = res[0].children;
1405
1405
  this.title = res[0].text;
1406
+ this.$emit('getOriginParentMenu', {title: res[0].text, id: res[0].id});
1406
1407
  }
1407
1408
  if (!this.isDefault || (this.isDefault && !this.homePage)) {
1408
1409
  this.active = this.getFirst(this.menu[0]).id;
@@ -1922,7 +1923,7 @@ export default {
1922
1923
  //跳转页面
1923
1924
  handleJump(page, type, res, param) {
1924
1925
  this.navIds = this.getId(this.menus, page);
1925
- console.log(page);
1926
+ console.log('handleJump page ',page);
1926
1927
  let prevPage = sessionStorage.getItem('jump');
1927
1928
  sessionStorage.setItem('jump', page);
1928
1929
  if (res) {
@@ -30,6 +30,7 @@
30
30
  v-on="$listeners"
31
31
  @chang-layout="changLayout"
32
32
  @bus-emit="busEmit"
33
+ @getOriginParentMenu="$emit('getOriginParentMenu', $event)"
33
34
  ></main-default>
34
35
 
35
36
  <!-- 公用弹窗 -->
package/src/index.js CHANGED
@@ -125,7 +125,7 @@ if (typeof window !== 'undefined' && window.Vue) {
125
125
  }
126
126
 
127
127
  export default {
128
- version: '0.7.87',
128
+ version: '0.7.88',
129
129
  install,
130
130
  Button,
131
131
  ButtonGroup,