@fle-ui/plus-choose-mall-goods 1.1.9 → 1.1.10
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/es/index.js +2 -4
- package/lib/index.js +2 -4
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -53,11 +53,11 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
53
53
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
54
54
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
55
55
|
import React, { useEffect, useState, useRef } from 'react';
|
|
56
|
+
import _ from 'lodash';
|
|
56
57
|
import PlusConfigProvider from '@fle-ui/plus-config-provider';
|
|
57
58
|
import AddressSelection from '@fle-ui/plus-address-selection';
|
|
58
59
|
import ProImage from '@fle-ui/plus-image';
|
|
59
60
|
import { QuestionCircleOutlined, LoadingOutlined } from '@ant-design/icons';
|
|
60
|
-
import _ from 'lodash';
|
|
61
61
|
import Icon from './components/icon';
|
|
62
62
|
import ChangePrice from './components/changePrice';
|
|
63
63
|
import { tabs, tabsSearchParamsMap, priceRangeForOnce, priceRangeForPurchase, profitRangeForOnce, profitRangeForPurchase, sortOptions } from './utils/options';
|
|
@@ -124,7 +124,6 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
|
|
|
124
124
|
flagCategory: undefined,
|
|
125
125
|
saleableCity: undefined // dgss可售卖城市
|
|
126
126
|
};
|
|
127
|
-
// http ------------ begin
|
|
128
127
|
var $http = request({
|
|
129
128
|
baseUrl: getApiHost(env),
|
|
130
129
|
token: token,
|
|
@@ -1367,8 +1366,7 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
|
|
|
1367
1366
|
align: 'center',
|
|
1368
1367
|
width: 150,
|
|
1369
1368
|
render: function render(_, record) {
|
|
1370
|
-
|
|
1371
|
-
return (record === null || record === void 0 ? void 0 : (_record$flagCategoryI = record.flagCategoryInfo) === null || _record$flagCategoryI === void 0 ? void 0 : _record$flagCategoryI.goodsCategoryTreeName) || '-';
|
|
1369
|
+
return (record === null || record === void 0 ? void 0 : record.goodsCategoryTreeName) || '-';
|
|
1372
1370
|
}
|
|
1373
1371
|
}];
|
|
1374
1372
|
var columns = function columns() {
|
package/lib/index.js
CHANGED
|
@@ -7,11 +7,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _antd = require("antd");
|
|
10
|
+
var _lodash = _interopRequireDefault(require("lodash"));
|
|
10
11
|
var _plusConfigProvider = _interopRequireDefault(require("@fle-ui/plus-config-provider"));
|
|
11
12
|
var _plusAddressSelection = _interopRequireDefault(require("@fle-ui/plus-address-selection"));
|
|
12
13
|
var _plusImage = _interopRequireDefault(require("@fle-ui/plus-image"));
|
|
13
14
|
var _icons = require("@ant-design/icons");
|
|
14
|
-
var _lodash = _interopRequireDefault(require("lodash"));
|
|
15
15
|
var _icon = _interopRequireDefault(require("./components/icon"));
|
|
16
16
|
var _changePrice = _interopRequireDefault(require("./components/changePrice"));
|
|
17
17
|
var _options = require("./utils/options");
|
|
@@ -104,7 +104,6 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
|
|
|
104
104
|
flagCategory: undefined,
|
|
105
105
|
saleableCity: undefined // dgss可售卖城市
|
|
106
106
|
};
|
|
107
|
-
// http ------------ begin
|
|
108
107
|
var $http = (0, _request.default)({
|
|
109
108
|
baseUrl: (0, _serviceEnv.getApiHost)(env),
|
|
110
109
|
token: token,
|
|
@@ -1347,8 +1346,7 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
|
|
|
1347
1346
|
align: 'center',
|
|
1348
1347
|
width: 150,
|
|
1349
1348
|
render: function render(_, record) {
|
|
1350
|
-
|
|
1351
|
-
return (record === null || record === void 0 ? void 0 : (_record$flagCategoryI = record.flagCategoryInfo) === null || _record$flagCategoryI === void 0 ? void 0 : _record$flagCategoryI.goodsCategoryTreeName) || '-';
|
|
1349
|
+
return (record === null || record === void 0 ? void 0 : record.goodsCategoryTreeName) || '-';
|
|
1352
1350
|
}
|
|
1353
1351
|
}];
|
|
1354
1352
|
var columns = function columns() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fle-ui/plus-choose-mall-goods",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "@fle-ui/plus-choose-mall-goods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fle-ui",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "0c631954240d64433307f9b73b617ecc96a843a2"
|
|
48
48
|
}
|