mirror of
https://github.com/motajs/template.git
synced 2026-11-17 17:44:30 +08:00
feat: 完善内置特殊属性
This commit is contained in:
1 parent
a0e402728e
commit
3f74d5f25e
10 files changed
+221
-16
No files matched your search
@@ -153,7 +153,7 @@ export class CoreState
|
||||
return new HookController(this, hook);
|
||||
}
|
||||
|
||||
emitTip(tip: string, icon: number): void {
|
||||
emitTip(tip: string, icon?: number): void {
|
||||
this.forEachHook(hook => hook.onTip?.(tip, icon));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user