mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
fix: 修复 Service 组件 silentPolling 失效问题 (#2443)
This commit is contained in:
parent
a8fd39ec0e
commit
d9463da52c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user