更改base获取方式 #96

Merged
yezian merged 1 commits from anln into main 2024-09-12 12:13:06 +08:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 174b73e35f - Show all commits

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暂时无法开通会员请等待版本更新",