Vanessa 2025-03-19 18:52:36 +08:00
parent 8bf263a871
commit f5a72edcfd
4 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,9 @@
export const IOSPurchase = (data:string) => {
/// #if MOBILE
document.querySelector("#modelMain").dispatchEvent(new CustomEvent("click", {
detail: document.querySelector("#modelMain #refresh")
}));
/// #else
document.querySelector('.config__tab-container[data-name="account"] #refresh').dispatchEvent(new Event("click"));
/// #endif
}