component-shipinlv 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",