mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
fix: 修复withRemoteConfig 实现的自动刷新无法关闭问题 (#2448)
This commit is contained in:
parent
29009d7e55
commit
a799703409
@ -220,6 +220,7 @@ export function withRemoteConfig<P = any>(
|
||||
);
|
||||
} else if (env && isEffectiveApi(source, data)) {
|
||||
this.loadConfig();
|
||||
source.autoRefresh !== false &&
|
||||
this.toDispose.push(
|
||||
reaction(
|
||||
() => {
|
||||
|
Loading…
Reference in New Issue
Block a user