@luck-design-biz/luckda 0.0.21-1 → 0.0.21-3

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.
@@ -162,7 +162,7 @@ var UploadGridForm = function UploadGridForm(_ref) {
162
162
  if (code === 1) {
163
163
  setUploadLoading(false);
164
164
  setVisible(false);
165
- list.forEach(function (i) {
165
+ list.forEach(function (i, index) {
166
166
  var data = {
167
167
  uid: detail[i].fileName,
168
168
  name: detail[i].origFileName,
@@ -14,8 +14,7 @@ function buildComponent(props) {
14
14
  _props$note = props.note,
15
15
  note = _props$note === void 0 ? '' : _props$note,
16
16
  rest = _objectWithoutProperties(props, _excluded);
17
- var formId = "annex_".concat(_formId); //
18
-
17
+ var formId = "annex_".concat(_formId);
19
18
  var getUrl = function getUrl(behaviorKey, _note, docUid) {
20
19
  var ticketData = rest.ticketData,
21
20
  formData = rest.formData,
@@ -56,7 +55,8 @@ function buildComponent(props) {
56
55
  stype: i.fileExt,
57
56
  username: i.sregnm,
58
57
  uploadDate: i.dregt,
59
- previewUrl: i.previewUrl
58
+ previewUrl: i.previewUrl,
59
+ note: i.note
60
60
  };
61
61
  });
62
62
  }
@@ -170,7 +170,7 @@ var UploadGridForm = function UploadGridForm(_ref) {
170
170
  if (code === 1) {
171
171
  setUploadLoading(false);
172
172
  setVisible(false);
173
- list.forEach(function (i) {
173
+ list.forEach(function (i, index) {
174
174
  var data = {
175
175
  uid: detail[i].fileName,
176
176
  name: detail[i].origFileName,
@@ -21,8 +21,7 @@ function buildComponent(props) {
21
21
  _props$note = props.note,
22
22
  note = _props$note === void 0 ? '' : _props$note,
23
23
  rest = (0, _objectWithoutProperties2.default)(props, _excluded);
24
- var formId = "annex_".concat(_formId); //
25
-
24
+ var formId = "annex_".concat(_formId);
26
25
  var getUrl = function getUrl(behaviorKey, _note, docUid) {
27
26
  var ticketData = rest.ticketData,
28
27
  formData = rest.formData,
@@ -63,7 +62,8 @@ function buildComponent(props) {
63
62
  stype: i.fileExt,
64
63
  username: i.sregnm,
65
64
  uploadDate: i.dregt,
66
- previewUrl: i.previewUrl
65
+ previewUrl: i.previewUrl,
66
+ note: i.note
67
67
  };
68
68
  });
69
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luck-design-biz/luckda",
3
- "version": "0.0.21-1",
3
+ "version": "0.0.21-3",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",