@titaui/pc 1.12.60-beta.1 → 1.12.60-beta.2

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.
@@ -114,7 +114,7 @@ function openData(p) {
114
114
  var ref = (0, _react.useRef)(null);
115
115
  (0, _react.useEffect)(function () {
116
116
  //@ts-ignore
117
- window.WWOpenData && window.WWOpenData.bind(ref.current);
117
+ (window.WWOpenData && window.WWOpenData || window.top.WWOpenData).bind(ref.current);
118
118
  if (!p.id) return;
119
119
  var openId = getOpenId(p.id, p.type);
120
120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.60-beta.1",
3
+ "version": "1.12.60-beta.2",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",