@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 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
@@ -1,6 +1,3 @@
1
- @import (reference) '~@fle-ui/next/es/style/themes/default.less';
2
- @import (reference) '~@fle-ui/next/es/style/theme.less';
3
-
4
1
  .choose-mall-goods-modal {
5
2
  .ww-search {
6
3
  background-color: #fafafa;
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
@@ -1,6 +1,3 @@
1
- @import (reference) '~@fle-ui/next/es/style/themes/default.less';
2
- @import (reference) '~@fle-ui/next/es/style/theme.less';
3
-
4
1
  .choose-mall-goods-modal {
5
2
  .ww-search {
6
3
  background-color: #fafafa;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fle-ui/plus-choose-mall-goods",
3
- "version": "1.0.1",
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": "16b76ce3fefa08deb73473078b5d9b71b1ddea4b"
46
+ "gitHead": "bae75c1f1724bd05268a3fa9f6c739b60c567cde"
46
47
  }