@cloud-app-dev/vidc 2.0.0-alpha.28 → 2.0.0-alpha.30

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.
@@ -58,13 +58,14 @@ var AppRoute = /*#__PURE__*/function (_React$Component) {
58
58
  _createClass(AppRoute, [{
59
59
  key: "shouldComponentUpdate",
60
60
  value: function shouldComponentUpdate(props) {
61
- var tabId = props.currentId || _cache.getCache('currentTabKey', 'session');
61
+ var tabId = _cache.getCache('currentTabKey', 'session');
62
62
 
63
63
  if (!_global._IS_RUN_MICRO_BASIC) {
64
64
  return true;
65
65
  } // 页签变化拦截
66
66
 
67
67
 
68
+ console.debug("App \u66F4\u65B0\u62E6\u622A\uFF0C\u62E6\u622AAppId\uFF1A".concat(props.tabId, "\uFF0C\u53EF\u66F4\u65B0AppId\uFF1A").concat(tabId));
68
69
  return tabId === props.tabId;
69
70
  }
70
71
  }, {
@@ -85,6 +86,7 @@ var AppRoute = /*#__PURE__*/function (_React$Component) {
85
86
  props = __rest(_a, ["routes"]);
86
87
 
87
88
  var component = matchIndex > -1 ? routes[matchIndex].element : undefined;
89
+ console.debug('Route Match Index', matchIndex);
88
90
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Routes, null, routes.map(function (item, index) {
89
91
  return /*#__PURE__*/React.createElement(Route, {
90
92
  path: item.path,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "@cloud-app-dev/vidc",
4
4
  "description": "Video Image Data Componennts",
5
- "version": "2.0.0-alpha.28",
5
+ "version": "2.0.0-alpha.30",
6
6
  "scripts": {
7
7
  "start": "dumi dev",
8
8
  "docs:build": "dumi build",