dev: bump version

This commit is contained in:
undefined committed 2021-07-29 13:02:57 +08:00
1 parent 5eaec48002
commit 0cd91d7475
22 files changed
+23 -60

No files matched your search

+1
View File
@@ -134,6 +134,7 @@ export async function template(pending: string[], fail: string[]) {
try {
const files = getFiles(p);
for (const file of files) {
if (file.endsWith('.tsx')) global.Hydro.ui.template[file] = eval('require')(path.resolve(p, file));
global.Hydro.ui.template[file] = await fs.readFile(path.resolve(p, file), 'utf-8');
}
logger.info('Template init: %s', i);