From 180c04a68570eba989d2adfef731170e6d66cf2b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 10 Jun 2022 09:58:59 +0800 Subject: [PATCH] =?UTF-8?q?:iphone:=20=E7=A7=BB=E9=99=A4=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/config/account.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/config/account.ts b/app/src/config/account.ts index d93eeaf77..23e3bb6f1 100644 --- a/app/src/config/account.ts +++ b/app/src/config/account.ts @@ -350,6 +350,12 @@ ${window.siyuan.languages.account8}`; }); }, onSetaccount() { + if (repos.element) { + repos.element.innerHTML = ""; + } + if (window.siyuan.config.system.container === "ios") { + return; + } let html = ""; if (window.siyuan.config.account.displayVIP && window.siyuan.user) { if (window.siyuan.user.userSiYuanProExpireTime === -1) { @@ -368,8 +374,5 @@ ${window.siyuan.languages.account8}`; }); } document.getElementById("toolbarVIP").innerHTML = html; - if (repos.element) { - repos.element.innerHTML = ""; - } } };