component-shipinlv 0.1.13 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/VipList/index.js +2 -3
- package/package.json +1 -1
package/dist/VipList/index.js
CHANGED
@@ -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:
|
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
|
});
|