doway-coms 1.1.62 → 1.1.63

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.62",
3
+ "version": "1.1.63",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -46,23 +46,23 @@ export default new Vuex.Store({
46
46
  let newRoutePath =
47
47
  tabInfo.path + '?' + stringUrlQuery(tabInfo.replaceQuery)
48
48
  history.replaceState(null,null,(window.$wujie.props.webAppActiveRule + newRoutePath))
49
- let keepAliveComp =
50
- tabInfo.rootComp.$children[0].$refs.routerView.$vnode.parent
51
- .componentInstance
49
+ // let keepAliveComp =
50
+ // tabInfo.rootComp.$children[0].$refs.routerView.$vnode.parent
51
+ // .componentInstance
52
52
 
53
- for (let cacheKey in keepAliveComp.cache) {
54
- if (
55
- keepAliveComp.cache[cacheKey].componentInstance._uid ===
56
- tabInfo.compUid
57
- ) {
58
- keepAliveComp.cache[newRoutePath] = keepAliveComp.cache[cacheKey]
59
- keepAliveComp.keyToCache = newRoutePath
60
- XEUtils.remove(keepAliveComp.keys, loopKey => loopKey === cacheKey)
61
- delete keepAliveComp.cache[cacheKey]
62
- keepAliveComp.keys.push(newRoutePath)
63
- break
64
- }
65
- }
53
+ // for (let cacheKey in keepAliveComp.cache) {
54
+ // if (
55
+ // keepAliveComp.cache[cacheKey].componentInstance._uid ===
56
+ // tabInfo.compUid
57
+ // ) {
58
+ // keepAliveComp.cache[newRoutePath] = keepAliveComp.cache[cacheKey]
59
+ // keepAliveComp.keyToCache = newRoutePath
60
+ // XEUtils.remove(keepAliveComp.keys, loopKey => loopKey === cacheKey)
61
+ // delete keepAliveComp.cache[cacheKey]
62
+ // keepAliveComp.keys.push(newRoutePath)
63
+ // break
64
+ // }
65
+ // }
66
66
  }
67
67
  //通知父应用修改Tab标签文字描述
68
68
  if(window.$wujie){