@kmkf-fe-packages/services-components 0.8.4 → 0.8.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.
@@ -103,7 +103,10 @@ var QueryLogisticsTrack = function QueryLogisticsTrack(_ref) {
103
103
  icon: null,
104
104
  width: modelWidth,
105
105
  content: LogisticsList(data === null || data === void 0 ? void 0 : data.traceDetailList),
106
- getContainer: false
106
+ // TODO: 使用Modal.info组件需要注意给他绑定到渲染的dom上面,快手在渲染的时候会默认挂载到body上面
107
+ getContainer: function getContainer() {
108
+ return document.getElementById('logistics-interception-code');
109
+ }
107
110
  });
108
111
  } else {
109
112
  msg && message.error(msg);
@@ -119,7 +122,9 @@ var QueryLogisticsTrack = function QueryLogisticsTrack(_ref) {
119
122
  color: "#1890ff",
120
123
  cursor: "pointer"
121
124
  },
125
+ id: "logistics-interception-code"
126
+ }, /*#__PURE__*/React.createElement("span", {
122
127
  onClick: handleQueryLogistics
123
- }, title);
128
+ }, title));
124
129
  };
125
130
  export default QueryLogisticsTrack;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -40,5 +40,5 @@
40
40
  "gitHooks": {
41
41
  "pre-commit": "lint-staged"
42
42
  },
43
- "gitHead": "e69bc6e8c132a9aa5030868bcb1d88cd44532f73"
43
+ "gitHead": "99e1f8fe2db2160858e14e62a6709ebf9856cd5c"
44
44
  }