@kmkf-fe-packages/basic-components 1.0.1-rc.3 → 1.0.1-rc.6

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
@@ -3,7 +3,7 @@ import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, messag
3
3
  import { EyeOutlined, DeleteOutlined, CloseCircleOutlined, CaretUpOutlined } from '@ant-design/icons';
4
4
  import request, { extend as extend$1 } from 'umi-request';
5
5
  import { CopyToClipboard } from 'react-copy-to-clipboard';
6
- import { AddressData, BsAddressData, WdtAddressData, request as request$1, ExpressData, uuid, LogisticsAddressData, WDT_ORDER_TYPE_MAP } from '@kmkf-fe-packages/kmkf-utils';
6
+ import { AddressData, BsAddressData, WdtAddressData, request as request$1, ExpressData, uuid, LogisticsAddressData, WdtSendData, WDT_ORDER_TYPE_MAP } from '@kmkf-fe-packages/kmkf-utils';
7
7
  import zhCN from 'antd/lib/locale/zh_CN';
8
8
  import { cloneDeep, difference, differenceWith } from 'lodash';
9
9
  import { useDebounceEffect } from 'ahooks';
@@ -10439,6 +10439,7 @@ var jstGoods = function jstGoods(props) {
10439
10439
  _useState2 = _slicedToArray(_useState, 2),
10440
10440
  changeIndex = _useState2[0],
10441
10441
  setChangeIndex = _useState2[1]; //选中的包裹
10442
+ var wdtSendOptions = WdtSendData.getInstance().wdtSendData || [];
10442
10443
  useEffect(function () {
10443
10444
  //没有值塞个默认值
10444
10445
  if (!(value === null || value === void 0 ? void 0 : value.length)) {
@@ -10556,7 +10557,7 @@ var jstGoods = function jstGoods(props) {
10556
10557
  disabled: disabled,
10557
10558
  placeholder: "\u53D1\u8D27\u4ED3\u540D\u79F0",
10558
10559
  showSearch: true,
10559
- options: [],
10560
+ options: wdtSendOptions,
10560
10561
  filterOption: filterOption,
10561
10562
  value: (_value$changeIndex6 = value[changeIndex]) === null || _value$changeIndex6 === void 0 ? void 0 : _value$changeIndex6.sendName,
10562
10563
  onChange: function onChange(value, option) {
package/dist/index.js CHANGED
@@ -10450,6 +10450,7 @@ var jstGoods = function jstGoods(props) {
10450
10450
  _useState2 = _slicedToArray(_useState, 2),
10451
10451
  changeIndex = _useState2[0],
10452
10452
  setChangeIndex = _useState2[1]; //选中的包裹
10453
+ var wdtSendOptions = kmkfUtils.WdtSendData.getInstance().wdtSendData || [];
10453
10454
  React.useEffect(function () {
10454
10455
  //没有值塞个默认值
10455
10456
  if (!(value === null || value === void 0 ? void 0 : value.length)) {
@@ -10567,7 +10568,7 @@ var jstGoods = function jstGoods(props) {
10567
10568
  disabled: disabled,
10568
10569
  placeholder: "\u53D1\u8D27\u4ED3\u540D\u79F0",
10569
10570
  showSearch: true,
10570
- options: [],
10571
+ options: wdtSendOptions,
10571
10572
  filterOption: filterOption,
10572
10573
  value: (_value$changeIndex6 = value[changeIndex]) === null || _value$changeIndex6 === void 0 ? void 0 : _value$changeIndex6.sendName,
10573
10574
  onChange: function onChange(value, option) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "1.0.1-rc.3",
3
+ "version": "1.0.1-rc.6",
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": "^1.0.1-rc.3",
23
+ "@kmkf-fe-packages/kmkf-utils": "^1.0.1-rc.6",
24
24
  "ahooks": "^3.7.4",
25
25
  "kmkf-monitor": "^0.8.8",
26
26
  "lodash": "^4.17.21",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "f2086c8596bf47cb02aafe8df809286b3f497811"
67
+ "gitHead": "8bcfe69054fdfc820f990200e98c20efaf167d67"
68
68
  }