@fle-ui/plus-choose-mall-goods 1.1.11-alpha.0 → 1.1.11

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
@@ -600,7 +600,7 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
600
600
  // 获取全局控制状态
601
601
  var getGoodControlInfo = /*#__PURE__*/function () {
602
602
  var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
603
- var res, _res$data3, _res$data4;
603
+ var res, _res$data3;
604
604
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
605
605
  while (1) switch (_context7.prev = _context7.next) {
606
606
  case 0:
@@ -610,8 +610,8 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
610
610
  res = _context7.sent;
611
611
  if (res === null || res === void 0 ? void 0 : res.success) {
612
612
  setShow({
613
- priceShow: ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.internal_mall_cost_price_show) == '1' ? true : false,
614
- supplierShow: ((_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.internal_mall_supplier_name_show) == '1' ? true : false
613
+ priceShow: ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.customer_mall_cost_price_show) == '1' ? true : false,
614
+ supplierShow: true
615
615
  });
616
616
  }
617
617
  case 4:
package/lib/index.js CHANGED
@@ -580,7 +580,7 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
580
580
  // 获取全局控制状态
581
581
  var getGoodControlInfo = /*#__PURE__*/function () {
582
582
  var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
583
- var res, _res$data3, _res$data4;
583
+ var res, _res$data3;
584
584
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
585
585
  while (1) switch (_context7.prev = _context7.next) {
586
586
  case 0:
@@ -590,8 +590,8 @@ var ChooseMallGoods = function ChooseMallGoods(props) {
590
590
  res = _context7.sent;
591
591
  if (res === null || res === void 0 ? void 0 : res.success) {
592
592
  setShow({
593
- priceShow: ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.internal_mall_cost_price_show) == '1' ? true : false,
594
- supplierShow: ((_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.internal_mall_supplier_name_show) == '1' ? true : false
593
+ priceShow: ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.customer_mall_cost_price_show) == '1' ? true : false,
594
+ supplierShow: true
595
595
  });
596
596
  }
597
597
  case 4:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fle-ui/plus-choose-mall-goods",
3
- "version": "1.1.11-alpha.0",
3
+ "version": "1.1.11",
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": "7d48264a50c81e811e73264aade348b57a58592b"
47
+ "gitHead": "f5a34365f0ab189629c08301c00018edb7243bc2"
48
48
  }