doway-coms 1.1.65 → 1.1.66

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": "doway-coms",
3
- "version": "1.1.65",
3
+ "version": "1.1.66",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -41,6 +41,18 @@ export default new Vuex.Store({
41
41
  }
42
42
  },
43
43
  actions: {
44
+ /**
45
+ * 系统登出
46
+ * @param {} param0
47
+ */
48
+ logOut({commit}){
49
+ if(window.$wujie){
50
+ //通知主应用会员过期重新登陆
51
+ window.$wujie.bus.$emit(
52
+ 'subAppLoginOut',window.$wujie.props.webAppCode
53
+ )
54
+ }
55
+ },
44
56
  setTabTitle({ commit }, tabInfo) {
45
57
  if (tabInfo.replaceQuery) {
46
58
  let newRoutePath =