Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:iphone: 移除会员标识

Vanessa180c04a68570
diff --git a/app/src/config/account.ts b/app/src/config/account.ts
index d93eeaf773..23e3bb6f1e 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 = "";
- }
}
};