@cloud-app-dev/vidc 2.0.0-alpha.31 → 2.0.0-alpha.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.
@@ -55,7 +55,8 @@ var AppRoute = /*#__PURE__*/function (_React$Component) {
55
55
  return _this.setState({
56
56
  matchIndex: index
57
57
  });
58
- }
58
+ } // 基座下不更新索引,路由切换由基座控制
59
+
59
60
 
60
61
  if (_this.state.index !== -1) {
61
62
  return _this.setState({
@@ -73,7 +74,7 @@ var AppRoute = /*#__PURE__*/function (_React$Component) {
73
74
  _createClass(AppRoute, [{
74
75
  key: "componentDidMount",
75
76
  value: function componentDidMount() {
76
- console.debug("App Routes\uFF1A".concat(JSON.stringify(this.props.routes)));
77
+ console.debug("App Routes\uFF1A", this.props.routes);
77
78
  }
78
79
  }, {
79
80
  key: "shouldComponentUpdate",
@@ -106,7 +107,6 @@ var AppRoute = /*#__PURE__*/function (_React$Component) {
106
107
  props = __rest(_a, ["routes"]);
107
108
 
108
109
  var component = matchIndex > -1 ? routes[matchIndex].element : undefined;
109
- console.debug('Route Match Index', matchIndex);
110
110
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Routes, null, routes.map(function (item, index) {
111
111
  return /*#__PURE__*/React.createElement(Route, {
112
112
  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.31",
5
+ "version": "2.0.0-alpha.32",
6
6
  "scripts": {
7
7
  "start": "dumi dev",
8
8
  "docs:build": "dumi build",