更改base获取方式

This commit is contained in:
al 2024-09-11 14:12:01 +08:00
parent b3a1cd406a
commit 174b73e35f
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@ export default function Vip() {
//
const [isLoading, setIsLoading] = useState(false);
const createOrder = async (type = "alipay_h5") => {
const base = webviewBaseRequest();
const webviewBase = webviewBaseRequest();
let base = getBase(webviewBase);
if (base?.b_dt === 1 && base?.b_ver !== "1.5.0") {
Toast.show({
content: "ios暂时无法开通会员请等待版本更新",