@kmkf-fe-packages/kmkf-work-order-service-component 2.2.31-beta.3 → 2.2.31-beta.5

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.
@@ -9,6 +9,7 @@ var JumpBuyer = function JumpBuyer(param) {
9
9
  order_number = param.order_number,
10
10
  flowTemplateKey = param.flowTemplateKey;
11
11
  var onClick = function onClick() {
12
+ var _window, _window$xiaozhiSDK;
12
13
  var info = {
13
14
  event: 'open_buyers',
14
15
  param: {
@@ -22,7 +23,11 @@ var JumpBuyer = function JumpBuyer(param) {
22
23
  return message.error('缺少订单信息无法跳转');
23
24
  }
24
25
  console.log('jumpBuyer', info, "zxd:/".concat(btoa(encodeURIComponent(JSON.stringify(info)))));
25
- window.open("zxd:/".concat(btoa(encodeURIComponent(JSON.stringify(info)))));
26
+ (_window = window) === null || _window === void 0 ? void 0 : (_window$xiaozhiSDK = _window.xiaozhiSDK) === null || _window$xiaozhiSDK === void 0 ? void 0 : _window$xiaozhiSDK.openUrlWithDefault({
27
+ param: {
28
+ url: "zxd:/".concat(btoa(encodeURIComponent(JSON.stringify(info))))
29
+ }
30
+ });
26
31
  };
27
32
  return /*#__PURE__*/React.createElement("span", {
28
33
  onClick: onClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.2.31-beta.3",
3
+ "version": "2.2.31-beta.5",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -74,7 +74,7 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "42a665fa0ca1aaeae613a8487fed835b70950bc2",
77
+ "gitHead": "bbd6168c374979e0280aab710d8dd3cb746045bd",
78
78
  "gitHooks": {
79
79
  "pre-commit": "lint-staged"
80
80
  }