mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
291211bd00
commit
98f2b4dc36
2 changed files with 2 additions and 8 deletions
|
|
@ -148,12 +148,8 @@ export abstract class Constants {
|
||||||
public static readonly DIALOG_SYNCCHOOSEDIRECTION = "dialog-syncchoosedirection"; // 选择云端同步方向
|
public static readonly DIALOG_SYNCCHOOSEDIRECTION = "dialog-syncchoosedirection"; // 选择云端同步方向
|
||||||
public static readonly DIALOG_TRANSFERBLOCKREF = "dialog-transferblockref"; // 转移引用
|
public static readonly DIALOG_TRANSFERBLOCKREF = "dialog-transferblockref"; // 转移引用
|
||||||
public static readonly DIALOG_WECHATREMINDER = "dialog-wechatreminder"; // 微信提醒
|
public static readonly DIALOG_WECHATREMINDER = "dialog-wechatreminder"; // 微信提醒
|
||||||
|
|
||||||
public static readonly DIALOG_PASSWORD = "dialog-password"; // 导入同步密钥
|
public static readonly DIALOG_PASSWORD = "dialog-password"; // 导入同步密钥
|
||||||
public static readonly DIALOG_SETPASSWORD = "dialog-setpassword"; // 设置同步密钥
|
public static readonly DIALOG_SETPASSWORD = "dialog-setpassword"; // 设置同步密钥
|
||||||
public static readonly DIALOG_BOOTSYNCFAILED = "dialog-bootsyncfailed"; // 启动时同步数据失败
|
|
||||||
public static readonly DIALOG_KERNELFAULT = "dialog-kernelfault"; // 内核退出
|
|
||||||
public static readonly DIALOG_STATEEXCEPTED = "dialog-stateexcepted"; // 状态异常
|
|
||||||
public static readonly DIALOG_ATTR = "dialog-attr"; // 设置块属性
|
public static readonly DIALOG_ATTR = "dialog-attr"; // 设置块属性
|
||||||
public static readonly DIALOG_SETCUSTOMATTR = "dialog-setcustomattr"; // 设置自定义属性
|
public static readonly DIALOG_SETCUSTOMATTR = "dialog-setcustomattr"; // 设置自定义属性
|
||||||
public static readonly DIALOG_CREATENOTEBOOK = "dialog-createnotebook"; // 创建笔记本
|
public static readonly DIALOG_CREATENOTEBOOK = "dialog-createnotebook"; // 创建笔记本
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,6 @@ export const onGetnotebookconf = (data: INotebookConf) => {
|
||||||
<div class="fn__hr"></div>
|
<div class="fn__hr"></div>
|
||||||
<input class="b3-text-field fn__flex-center fn__block" id="dailyNoteTemplatePath" value="${data.conf.dailyNoteTemplatePath}">
|
<input class="b3-text-field fn__flex-center fn__block" id="dailyNoteTemplatePath" value="${data.conf.dailyNoteTemplatePath}">
|
||||||
</div></div>`;
|
</div></div>`;
|
||||||
let contentElement;
|
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
openModel({
|
openModel({
|
||||||
title: titleHTML,
|
title: titleHTML,
|
||||||
|
|
@ -64,9 +63,8 @@ export const onGetnotebookconf = (data: INotebookConf) => {
|
||||||
title: titleHTML,
|
title: titleHTML,
|
||||||
content: contentHTML
|
content: contentHTML
|
||||||
});
|
});
|
||||||
contentElement = dialog.element;
|
dialog.element.setAttribute("data-key", Constants.DIALOG_NOTEBOOKCONF);
|
||||||
contentElement.setAttribute("data-key", Constants.DIALOG_NOTEBOOKCONF);
|
bindSettingEvent(dialog.element, data);
|
||||||
bindSettingEvent(contentElement, data);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue