@luck-design-biz/luckda 0.0.25-20 → 0.0.25-21

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.
@@ -650,7 +650,7 @@
650
650
  "key": "onUnmount",
651
651
  "name": "组件卸载时",
652
652
  "desc": "在组件卸载时,执行方法",
653
- "func": "function onUnmount(instance) {\n\t\n}"
653
+ "func": "function onUnmount(api, instance) {\n\t\n}"
654
654
  },
655
655
  {
656
656
  "key": "onValueChange",
@@ -495,6 +495,7 @@ var LCForm = /*#__PURE__*/forwardRef(function (_ref3, ref) {
495
495
  });
496
496
  var afterInit = useMemoizedFn(function () {
497
497
  ctx.doAction(advance.events.onMount, {
498
+ api: apiRef.current,
498
499
  instance: formRef.current
499
500
  });
500
501
  });
@@ -591,7 +591,7 @@
591
591
  "key": "onUnmount",
592
592
  "name": "组件卸载时",
593
593
  "desc": "在组件卸载时,执行方法",
594
- "func": "function onUnmount(instance) {\n\t\n}"
594
+ "func": "function onUnmount(api, instance) {\n\t\n}"
595
595
  },
596
596
  {
597
597
  "key": "onValueChange",
@@ -650,7 +650,7 @@
650
650
  "key": "onUnmount",
651
651
  "name": "组件卸载时",
652
652
  "desc": "在组件卸载时,执行方法",
653
- "func": "function onUnmount(instance) {\n\t\n}"
653
+ "func": "function onUnmount(api, instance) {\n\t\n}"
654
654
  },
655
655
  {
656
656
  "key": "onValueChange",
@@ -503,6 +503,7 @@ var LCForm = /*#__PURE__*/(0, _react.forwardRef)(function (_ref3, ref) {
503
503
  });
504
504
  var afterInit = (0, _ahooks.useMemoizedFn)(function () {
505
505
  ctx.doAction(advance.events.onMount, {
506
+ api: apiRef.current,
506
507
  instance: formRef.current
507
508
  });
508
509
  });
@@ -591,7 +591,7 @@
591
591
  "key": "onUnmount",
592
592
  "name": "组件卸载时",
593
593
  "desc": "在组件卸载时,执行方法",
594
- "func": "function onUnmount(instance) {\n\t\n}"
594
+ "func": "function onUnmount(api, instance) {\n\t\n}"
595
595
  },
596
596
  {
597
597
  "key": "onValueChange",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luck-design-biz/luckda",
3
- "version": "0.0.25-20",
3
+ "version": "0.0.25-21",
4
4
  "description": "前端配置管理中心业务组件库",
5
5
  "scripts": {
6
6
  "start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",
@@ -123,7 +123,7 @@
123
123
  "js-cookie": "^2.2.1",
124
124
  "jsdom-global": "^3.0.2",
125
125
  "lint-staged": "^11.2.6",
126
- "luck-design": "0.1.78",
126
+ "luck-design": "0.1.78-2",
127
127
  "monaco-editor-webpack-plugin": "6.*.*",
128
128
  "node-fetch": "^2.6.7",
129
129
  "nprogress": "^0.2.0",