This commit is contained in:
Vanessa 2025-03-19 18:53:41 +08:00
parent dcb5020ace
commit 5f2b047e3f
3 changed files with 29 additions and 29 deletions

View file

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