fix search.js lost

This commit is contained in:
shalousun 2021-11-04 19:03:06 +08:00
parent e4b7b9e181
commit 196db481bd
1 changed files with 2 additions and 2 deletions

View File

@ -204,9 +204,9 @@ public class DocBuilderTemplate extends BaseDocBuilderTemplate {
} else {
apiDocs.add(apiDoc1);
}
tpl.binding(TemplateVariable.API_DOC_LIST.getVariable(), apiDocs);
FileUtil.nioWriteFile(tpl.render(), config.getOutPath() + FILE_SEPARATOR + SEARCH_JS_OUT);
}
tpl.binding(TemplateVariable.API_DOC_LIST.getVariable(), apiDocs);
FileUtil.nioWriteFile(tpl.render(), config.getOutPath() + FILE_SEPARATOR + SEARCH_JS_OUT);
}