@kmkf-fe-packages/basic-components 1.0.1-rc.1 → 1.0.1-rc.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.
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, useSendData, WDT_ORDER_TYPE_MAP } from '@kmkf-fe-packages/kmkf-utils';
6
+ import { AddressData, BsAddressData, WdtAddressData, request as request$1, ExpressData, uuid, LogisticsAddressData, 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,8 +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 _useSendData = useSendData(componentType === 'WDT_SEND_GOOD' ? 'wdt' : ''),
10443
- wdtSendOptions = _useSendData.sendData;
10442
+ // const { sendData: wdtSendOptions } = useSendData(componentType === 'WDT_SEND_GOOD' ? 'wdt' : '');
10444
10443
  useEffect(function () {
10445
10444
  //没有值塞个默认值
10446
10445
  if (!(value === null || value === void 0 ? void 0 : value.length)) {
@@ -10558,7 +10557,7 @@ var jstGoods = function jstGoods(props) {
10558
10557
  disabled: disabled,
10559
10558
  placeholder: "\u53D1\u8D27\u4ED3\u540D\u79F0",
10560
10559
  showSearch: true,
10561
- options: wdtSendOptions,
10560
+ options: [],
10562
10561
  filterOption: filterOption,
10563
10562
  value: (_value$changeIndex6 = value[changeIndex]) === null || _value$changeIndex6 === void 0 ? void 0 : _value$changeIndex6.sendName,
10564
10563
  onChange: function onChange(value, option) {
package/dist/index.js CHANGED
@@ -10450,8 +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 _useSendData = kmkfUtils.useSendData(componentType === 'WDT_SEND_GOOD' ? 'wdt' : ''),
10454
- wdtSendOptions = _useSendData.sendData;
10453
+ // const { sendData: wdtSendOptions } = useSendData(componentType === 'WDT_SEND_GOOD' ? 'wdt' : '');
10455
10454
  React.useEffect(function () {
10456
10455
  //没有值塞个默认值
10457
10456
  if (!(value === null || value === void 0 ? void 0 : value.length)) {
@@ -10569,7 +10568,7 @@ var jstGoods = function jstGoods(props) {
10569
10568
  disabled: disabled,
10570
10569
  placeholder: "\u53D1\u8D27\u4ED3\u540D\u79F0",
10571
10570
  showSearch: true,
10572
- options: wdtSendOptions,
10571
+ options: [],
10573
10572
  filterOption: filterOption,
10574
10573
  value: (_value$changeIndex6 = value[changeIndex]) === null || _value$changeIndex6 === void 0 ? void 0 : _value$changeIndex6.sendName,
10575
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.1",
3
+ "version": "1.0.1-rc.2",
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.1",
23
+ "@kmkf-fe-packages/kmkf-utils": "^1.0.1-rc.2",
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": "d11e3d70ebac788523fa88a2687b31273a7adef5"
67
+ "gitHead": "08bef10431ab0ca406a675aab12639a855185601"
68
68
  }