mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-09 16:54:21 +01:00
🎨
This commit is contained in:
parent
455d5c3908
commit
cd8b537465
6 changed files with 9 additions and 10 deletions
|
|
@ -12,8 +12,7 @@ export const needLogin = (tip = window.siyuan.languages.needLogin) => {
|
|||
};
|
||||
|
||||
export const needSubscribe = (tip = window.siyuan.languages._kernel[29]) => {
|
||||
if (window.siyuan.user && (window.siyuan.user.userSiYuanProExpireTime === -1 || window.siyuan.user.userSiYuanProExpireTime > 0) ||
|
||||
window.siyuan.user.userSiYuanOneTimePayStatus === 1) {
|
||||
if (window.siyuan.user && (window.siyuan.user.userSiYuanProExpireTime === -1 || window.siyuan.user.userSiYuanProExpireTime > 0)) {
|
||||
return false;
|
||||
}
|
||||
if (tip) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue