This commit is contained in:
Daniel 2025-03-25 23:57:12 +08:00
parent 69642e3bac
commit 3ebfdf6c5b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
21 changed files with 77 additions and 72 deletions

View file

@ -13,6 +13,7 @@ import {processRender} from "../util/processCode";
import {isIPhone, isSafari, openByMobile, setStorageVal} from "../util/compatibility";
import {showFileInFolder} from "../../util/pathName";
import {isPaidUser} from "../../util/needSubscribe";
import {getCloudURL} from "../../config/util/about";
export const afterExport = (exportPath: string, msgId: string) => {
/// #if !BROWSER
@ -105,7 +106,7 @@ export const exportImage = (id: string) => {
window.siyuan.storage[Constants.LOCAL_EXPORTIMG].watermark = watermarkElement.checked;
if (watermarkElement.checked && !isPaidUser()) {
watermarkElement.checked = false;
showMessage(window.siyuan.languages._kernel[214]);
showMessage(window.siyuan.languages._kernel[214].replaceAll("${accountServer}", getCloudURL("")));
}
updateWatermark();
});