mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -30,7 +30,7 @@ export const loadPlugins = async (app: App, names?: string[]) => {
|
||||
let css = "";
|
||||
// 为加快启动速度,不进行 await
|
||||
response.data.forEach((item: IPluginData) => {
|
||||
if (!names || (names && !names.includes(item.name))) {
|
||||
if (!names || (names && names.includes(item.name))) {
|
||||
loadPluginJS(app, item);
|
||||
}
|
||||
css += item.css || "" + "\n";
|
||||
|
||||
Reference in New Issue
Block a user