component-shipinlv 0.1.13 → 0.1.16

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.
@@ -2,7 +2,6 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
2
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
3
  import * as VipPowerController from "../service/api/VipPowerController";
4
4
  import { useRequest } from "@umijs/hooks";
5
- import { getApiEnv } from "../lib/getApiUrl";
6
5
  import React, { useState } from "react";
7
6
  import styles from "./index.css";
8
7
  import { Buy } from "./..";
@@ -361,7 +360,7 @@ var VipList = function VipList(_ref) {
361
360
  }
362
361
  },
363
362
  children: /*#__PURE__*/_jsx(Buy, {
364
- env: getApiEnv(),
363
+ env: env,
365
364
  disabled: userVip,
366
365
  productKind: "vip",
367
366
  vipId: (item === null || item === void 0 ? void 0 : item.id) || 0,
@@ -377,7 +376,7 @@ var VipList = function VipList(_ref) {
377
376
  })
378
377
  })
379
378
  })
380
- });
379
+ }, item.id);
381
380
  })]
382
381
  })
383
382
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "0.1.13",
3
+ "version": "0.1.16",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",