fix: 修复 Service 组件 silentPolling 失效问题 (#2443)

This commit is contained in:
RickCole 2021-08-26 17:47:46 +08:00 committed by GitHub
parent a8fd39ec0e
commit d9463da52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -450,7 +450,7 @@ export class ServiceRenderer extends Service {
scoped.registerComponent(this);
}
reload(subpath?: string, query?: any, ctx?: any) {
reload(subpath?: string, query?: any, ctx?: any, silent?: boolean) {
const scoped = this.context as IScopedContext;
if (subpath) {
return scoped.reload(
@ -459,7 +459,7 @@ export class ServiceRenderer extends Service {
);
}
return super.reload(subpath, query);
return super.reload(subpath, query, ctx, silent);
}
receive(values: any, subPath?: string) {