@kmkf-fe-packages/basic-components 2.0.54-beta.44 → 2.0.54-beta.45

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.
package/dist/index.esm.js CHANGED
@@ -9174,16 +9174,20 @@ var GoodsModal = function GoodsModal(props) {
9174
9174
  setLoading(false);
9175
9175
  return _context2.finish(15);
9176
9176
  case 18:
9177
- _context2.next = 24;
9177
+ _context2.next = 26;
9178
9178
  break;
9179
9179
  case 20:
9180
- _pageNo = params.pageNo, _pageSize = params.pageSize, title = params.title;
9180
+ _pageNo = params.pageNo, _pageSize = params.pageSize;
9181
+ title = params.title;
9182
+ if (platform !== 'taobao') {
9183
+ title = params.numIids;
9184
+ }
9181
9185
  _items = title ? orderNoItems.filter(function (item) {
9182
9186
  return item.title.includes(title.trim());
9183
9187
  }) : orderNoItems;
9184
9188
  handleSetGoodList(_toConsumableArray(_items.slice((_pageNo - 1) * _pageSize, _pageNo * _pageSize)));
9185
9189
  setTotal(_items.length);
9186
- case 24:
9190
+ case 26:
9187
9191
  case "end":
9188
9192
  return _context2.stop();
9189
9193
  }
@@ -9257,7 +9261,7 @@ var GoodsModal = function GoodsModal(props) {
9257
9261
  key: item.value
9258
9262
  }, item.label);
9259
9263
  })), /*#__PURE__*/React.createElement(Search, {
9260
- placeholder: platform === 'taobao' ? searchParams.type === 'orderProduct' ? '宝贝标题' : '宝贝链接,标题' : '商品ID',
9264
+ placeholder: searchParams.type !== 'orderProduct' ? platform === 'taobao' ? '宝贝链接,标题' : '商品ID' : '宝贝标题',
9261
9265
  // enterButton="搜索"
9262
9266
  className: "search",
9263
9267
  value: platform === 'taobao' ? searchParams.title : searchParams.numIids,
package/dist/index.js CHANGED
@@ -9186,16 +9186,20 @@ var GoodsModal = function GoodsModal(props) {
9186
9186
  setLoading(false);
9187
9187
  return _context2.finish(15);
9188
9188
  case 18:
9189
- _context2.next = 24;
9189
+ _context2.next = 26;
9190
9190
  break;
9191
9191
  case 20:
9192
- _pageNo = params.pageNo, _pageSize = params.pageSize, title = params.title;
9192
+ _pageNo = params.pageNo, _pageSize = params.pageSize;
9193
+ title = params.title;
9194
+ if (platform !== 'taobao') {
9195
+ title = params.numIids;
9196
+ }
9193
9197
  _items = title ? orderNoItems.filter(function (item) {
9194
9198
  return item.title.includes(title.trim());
9195
9199
  }) : orderNoItems;
9196
9200
  handleSetGoodList(_toConsumableArray(_items.slice((_pageNo - 1) * _pageSize, _pageNo * _pageSize)));
9197
9201
  setTotal(_items.length);
9198
- case 24:
9202
+ case 26:
9199
9203
  case "end":
9200
9204
  return _context2.stop();
9201
9205
  }
@@ -9269,7 +9273,7 @@ var GoodsModal = function GoodsModal(props) {
9269
9273
  key: item.value
9270
9274
  }, item.label);
9271
9275
  })), /*#__PURE__*/React__default['default'].createElement(Search, {
9272
- placeholder: platform === 'taobao' ? searchParams.type === 'orderProduct' ? '宝贝标题' : '宝贝链接,标题' : '商品ID',
9276
+ placeholder: searchParams.type !== 'orderProduct' ? platform === 'taobao' ? '宝贝链接,标题' : '商品ID' : '宝贝标题',
9273
9277
  // enterButton="搜索"
9274
9278
  className: "search",
9275
9279
  value: platform === 'taobao' ? searchParams.title : searchParams.numIids,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.54-beta.44",
3
+ "version": "2.0.54-beta.45",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.44",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.45",
24
24
  "ahooks": "^3.7.4",
25
25
  "bignumber.js": "^9.1.2",
26
26
  "kmkf-monitor": "^0.8.9",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "4dd27c75c1adbfe22938d0bd0f190ff3db278c58"
68
+ "gitHead": "5093fe6e531d5fd77836eefc0fb07a713e95c74d"
69
69
  }