doway-coms 1.1.31 → 1.1.32

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
@@ -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