@fle-ui/plus-choose-mall-goods 1.0.1 → 1.0.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/es/index.js +1 -1
- package/es/index.less +0 -3
- package/lib/index.js +1 -1
- package/lib/index.less +0 -3
- package/package.json +4 -3
package/es/index.js
CHANGED
|
@@ -404,7 +404,7 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
|
|
|
404
404
|
var tabs = showTabs.current.filter(function (item) {
|
|
405
405
|
return mode === 2 && item.key === 'zy' ? false : true;
|
|
406
406
|
});
|
|
407
|
-
return /*#__PURE__*/React.createElement(_Tabs, {
|
|
407
|
+
return tabs.length > 1 && /*#__PURE__*/React.createElement(_Tabs, {
|
|
408
408
|
activeKey: searchParams.tab,
|
|
409
409
|
onChange: onTabChange,
|
|
410
410
|
items: tabs
|
package/es/index.less
CHANGED
package/lib/index.js
CHANGED
|
@@ -386,7 +386,7 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
|
|
|
386
386
|
var tabs = showTabs.current.filter(function (item) {
|
|
387
387
|
return mode === 2 && item.key === 'zy' ? false : true;
|
|
388
388
|
});
|
|
389
|
-
return /*#__PURE__*/_react.default.createElement(_antd.Tabs, {
|
|
389
|
+
return tabs.length > 1 && /*#__PURE__*/_react.default.createElement(_antd.Tabs, {
|
|
390
390
|
activeKey: searchParams.tab,
|
|
391
391
|
onChange: onTabChange,
|
|
392
392
|
items: tabs
|
package/lib/index.less
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fle-ui/plus-choose-mall-goods",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "@fle-ui/plus-choose-mall-goods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fle-ui",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@ant-design/icons": "^4.2.1",
|
|
29
|
-
"@fle-ui/plus-address-selection": "^2.0.0"
|
|
29
|
+
"@fle-ui/plus-address-selection": "^2.0.0",
|
|
30
|
+
"moment": "^2.29.4"
|
|
30
31
|
},
|
|
31
32
|
"peerDependencies": {
|
|
32
33
|
"react": ">=16.9.0"
|
|
@@ -42,5 +43,5 @@
|
|
|
42
43
|
"publishConfig": {
|
|
43
44
|
"access": "public"
|
|
44
45
|
},
|
|
45
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "bae75c1f1724bd05268a3fa9f6c739b60c567cde"
|
|
46
47
|
}
|