doway-coms 1.1.31 → 1.1.33

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.
@@ -107842,19 +107842,23 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* defau
107842
107842
  }
107843
107843
  }
107844
107844
  //通知父应用修改Tab标签文字描述
107845
- window.$wujie.bus.$emit('subAppSetTabTitle', {
107846
- title: tabInfo.title,
107847
- name: tabInfo.name,
107848
- query: tabInfo.query,
107849
- replaceQuery: tabInfo.replaceQuery,
107850
- path: tabInfo.path
107851
- })
107845
+ if(window.$wujie){
107846
+ window.$wujie.bus.$emit('subAppSetTabTitle', {
107847
+ title: tabInfo.title,
107848
+ name: tabInfo.name,
107849
+ query: tabInfo.query,
107850
+ replaceQuery: tabInfo.replaceQuery,
107851
+ path: tabInfo.path
107852
+ })
107853
+ }
107852
107854
  },
107853
107855
  closeTab({ commit }, fullPath) {
107854
- window.$wujie.bus.$emit(
107855
- 'subAppCloseTab',
107856
- window.$wujie.props.webAppActiveRule + fullPath
107857
- )
107856
+ if(window.$wujie){
107857
+ window.$wujie.bus.$emit(
107858
+ 'subAppCloseTab',
107859
+ window.$wujie.props.webAppActiveRule + fullPath
107860
+ )
107861
+ }
107858
107862
  },
107859
107863
  moduleLoadViewInfo({ commit, state }, dataInfo) {
107860
107864
  let vm = this
@@ -117764,7 +117768,7 @@ const popupInterceptor = (params)=>{
117764
117768
  let parentElement = (params.$event.target.shadowRoot && params.$event.composed) ?
117765
117769
  (params.$event.composedPath()[0] || params.$event.target) : params.$event.target
117766
117770
  while (true) {
117767
- // console.debug(parentElement)
117771
+ console.debug(parentElement)
117768
117772
  if (
117769
117773
  parentElement &&
117770
117774
  (parentElement.className.indexOf('vxe-modal--wrapper') > -1 ||
@@ -107851,19 +107851,23 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* defau
107851
107851
  }
107852
107852
  }
107853
107853
  //通知父应用修改Tab标签文字描述
107854
- window.$wujie.bus.$emit('subAppSetTabTitle', {
107855
- title: tabInfo.title,
107856
- name: tabInfo.name,
107857
- query: tabInfo.query,
107858
- replaceQuery: tabInfo.replaceQuery,
107859
- path: tabInfo.path
107860
- })
107854
+ if(window.$wujie){
107855
+ window.$wujie.bus.$emit('subAppSetTabTitle', {
107856
+ title: tabInfo.title,
107857
+ name: tabInfo.name,
107858
+ query: tabInfo.query,
107859
+ replaceQuery: tabInfo.replaceQuery,
107860
+ path: tabInfo.path
107861
+ })
107862
+ }
107861
107863
  },
107862
107864
  closeTab({ commit }, fullPath) {
107863
- window.$wujie.bus.$emit(
107864
- 'subAppCloseTab',
107865
- window.$wujie.props.webAppActiveRule + fullPath
107866
- )
107865
+ if(window.$wujie){
107866
+ window.$wujie.bus.$emit(
107867
+ 'subAppCloseTab',
107868
+ window.$wujie.props.webAppActiveRule + fullPath
107869
+ )
107870
+ }
107867
107871
  },
107868
107872
  moduleLoadViewInfo({ commit, state }, dataInfo) {
107869
107873
  let vm = this
@@ -117773,7 +117777,7 @@ const popupInterceptor = (params)=>{
117773
117777
  let parentElement = (params.$event.target.shadowRoot && params.$event.composed) ?
117774
117778
  (params.$event.composedPath()[0] || params.$event.target) : params.$event.target
117775
117779
  while (true) {
117776
- // console.debug(parentElement)
117780
+ console.debug(parentElement)
117777
117781
  if (
117778
117782
  parentElement &&
117779
117783
  (parentElement.className.indexOf('vxe-modal--wrapper') > -1 ||