@luck-design-biz/luckda 0.0.7-1 → 0.0.7-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,11 +114,11 @@ var LdFormList = function LdFormList(_ref) {
114
114
  formData: props.formData,
115
115
  form_id: formKey,
116
116
  effcode: formCode
117
- }, function (success, indocno) {
117
+ }, function (success, indocno, res) {
118
118
  setSubmitLoading(false);
119
119
  if (success) {
120
120
  if (afterSubmit) {
121
- afterSubmit();
121
+ afterSubmit(success, indocno, res);
122
122
  } else {
123
123
  var _formListRef$current;
124
124
  props.parentModelName && ((_formListRef$current = formListRef.current) === null || _formListRef$current === void 0 ? void 0 : _formListRef$current.doParentsQuery());
@@ -121,11 +121,11 @@ var LdFormList = function LdFormList(_ref) {
121
121
  formData: props.formData,
122
122
  form_id: formKey,
123
123
  effcode: formCode
124
- }, function (success, indocno) {
124
+ }, function (success, indocno, res) {
125
125
  setSubmitLoading(false);
126
126
  if (success) {
127
127
  if (afterSubmit) {
128
- afterSubmit();
128
+ afterSubmit(success, indocno, res);
129
129
  } else {
130
130
  var _formListRef$current;
131
131
  props.parentModelName && ((_formListRef$current = formListRef.current) === null || _formListRef$current === void 0 ? void 0 : _formListRef$current.doParentsQuery());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luck-design-biz/luckda",
3
- "version": "0.0.7-1",
3
+ "version": "0.0.7-2",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",