feat(minder): defaultThemeFreshPurple

This commit is contained in:
baiqi 2024-11-28 14:56:36 +08:00 committed by 刘瑞斌
parent d50549fc98
commit d8bc26d26b
1 changed files with 5 additions and 1 deletions

View File

@ -132,8 +132,12 @@
window.minder.setDefaultOptions({
defaultTheme: 'wire',
});
window.minder.refresh();
} else {
window.minder.setDefaultOptions({
defaultTheme: 'fresh-purple',
});
}
window.minder.refresh();
window.minder.forceRemoveNode = () => {
markDeleteNode(window.minder);
window.minder.execCommand('RemoveNode');