mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: do not allow edit for setting_storage
This commit is contained in:
1 parent
efb8adfe6d
commit
0c81eea40a
3 files changed
+5
-1
No files matched your search
@@ -67,7 +67,7 @@ export class ApiMixin extends Service {
|
||||
setImmediate = T(setImmediate, clearImmediate);
|
||||
provideModule = T(provideModule);
|
||||
inject = T(inject);
|
||||
broadcast = (event: string, ...payload) => this.ctx.emit('bus/broadcast', event, payload);
|
||||
broadcast = (event: keyof EventMap, ...payload) => this.ctx.emit('bus/broadcast', event, payload);
|
||||
constructor(ctx) {
|
||||
super(ctx, 'api', true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user