@zgfe/modules-interval 1.0.3-alpha.6 → 1.0.3-alpha.8

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.
@@ -22,7 +22,7 @@ export declare namespace IntervalProps {
22
22
  /**
23
23
  * 用户钻取
24
24
  */
25
- onUserDrill: (data: IntervalDrillParams) => void;
25
+ onUserDrill: (data: IntervalDrillParams, isSubject: boolean) => void;
26
26
  onJumpWarning: (data: Record<string, any>, searchData: SearchValue) => void;
27
27
  }
28
28
  interface Value {
@@ -227,6 +227,10 @@ var TopPanel = function TopPanel(props) {
227
227
  keyField: "id",
228
228
  onChange: function onChange(val) {
229
229
  setCurrentSubject(val);
230
+ form.setFieldsValue({
231
+ start: undefined,
232
+ end: undefined
233
+ });
230
234
  }
231
235
  })), analysisType === 'user' && /*#__PURE__*/React.createElement(Form.Item, {
232
236
  label: "",
@@ -188,8 +188,7 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
188
188
  params.params.time.begin = record.time.split('|')[0];
189
189
  params.params.time.end = record.time.split('|')[1] || record.time.split('|')[0];
190
190
  }
191
- console.log('下钻参数', params);
192
- onUserDrill === null || onUserDrill === void 0 ? void 0 : onUserDrill(params);
191
+ onUserDrill === null || onUserDrill === void 0 ? void 0 : onUserDrill(params, searchData.analysisSubject ? true : false);
193
192
  }
194
193
  }, /*#__PURE__*/React.createElement(IconFont, {
195
194
  type: "a-yanjingkai"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-interval",
3
- "version": "1.0.3-alpha.6",
3
+ "version": "1.0.3-alpha.8",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -62,5 +62,5 @@
62
62
  "umi-request": "^1.4.0",
63
63
  "yorkie": "^2.0.0"
64
64
  },
65
- "gitHead": "ba0839a60a99048a40e3c6082a1c11086089acad"
65
+ "gitHead": "afc143a039748d6883dc2f158adf9e9616040658"
66
66
  }