@cloud-app-dev/vidc 2.0.0-alpha.32 → 2.0.0-alpha.33

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.
@@ -12,7 +12,6 @@ interface ILoaderAppProps {
12
12
  * @default {}
13
13
  */
14
14
  appProps: {
15
- updateTime?: number;
16
15
  [key: string]: any;
17
16
  };
18
17
  /**
@@ -1,4 +1,3 @@
1
- import _useUpdateEffect from "ahooks/es/useUpdateEffect";
2
1
  import _uuid from "@cloud-app-dev/utils/es/uuid";
3
2
 
4
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
@@ -110,19 +109,6 @@ function LoaderApp(_ref) {
110
109
  }
111
110
  };
112
111
  }, []);
113
-
114
- _useUpdateEffect(function () {
115
- var currentId = appProps.currentId,
116
- tabId = appProps.tabId;
117
-
118
- if (currentId === tabId && loadedAppRef.current) {
119
- var props = Object.assign(Object.assign({}, appProps), {
120
- container: domRef.current
121
- });
122
- loadedAppRef.current.update && loadedAppRef.current.update(props);
123
- }
124
- }, [appProps.currentId, appProps.tabId, appProps.updateTime]);
125
-
126
112
  return /*#__PURE__*/React.createElement("main", {
127
113
  ref: domRef,
128
114
  className: "loaded-app-layout ".concat(appConfig.routerPrefix, "-").concat(id),
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.32",
5
+ "version": "2.0.0-alpha.33",
6
6
  "scripts": {
7
7
  "start": "dumi dev",
8
8
  "docs:build": "dumi build",