mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:18:03 +08:00
updateEnv 逻辑错误
This commit is contained in:
parent
ede1173159
commit
f8a47b2506
@ -1037,7 +1037,7 @@ export function updateEnv(options: Partial<RenderOptions>, session = 'global') {
|
||||
let store = stores[options.session || session];
|
||||
if (!store) {
|
||||
store = RendererStore.create({}, options);
|
||||
stores[options.session || 'global'] = store;
|
||||
stores[options.session || session] = store;
|
||||
} else {
|
||||
const env = getEnv(store);
|
||||
Object.assign(env, options);
|
||||
|
Loading…
Reference in New Issue
Block a user