mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 20:00:17 +01:00
This commit is contained in:
parent
3becde4d87
commit
164cfdbae7
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ export const setDefRefCount = (data: {
|
|||
};
|
||||
|
||||
export const lockScreen = async (app: App) => {
|
||||
if (window.siyuan.config.readonly) {
|
||||
if (window.siyuan.config.readonly || window.siyuan.config.publish.enable) {
|
||||
return;
|
||||
}
|
||||
app.plugins.forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue