📝 更新文档

This commit is contained in:
muwoo
2021-12-22 18:11:59 +08:00
parent acddbb724f
commit 024aace801
14 changed files with 35736 additions and 2 deletions

View File

@@ -37,7 +37,13 @@ export default () => {
const triggerReadyHooks = (ctx) => {
// @ts-ignore
hooks.onReady.forEach(hook => hook(ctx));
hooks.onReady.forEach((hook: any) => {
try {
hook(ctx);
} catch (e) {
console.log(e);
}
});
}
return {