mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-26 12:42:34 +08:00
📝 更新文档
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user