[IMP] env: env is now frozen, useSubEnv does not affect user env

This commit is contained in:
Bruno Boi
2021-11-15 13:10:09 +01:00
committed by Aaron Bohy
parent 201f06c187
commit 3fa1bb62f6
13 changed files with 164 additions and 73 deletions
@@ -1132,7 +1132,7 @@ exports[`rendering component again in next microtick 2`] = `
let b2;
const v1 = ctx['onClick'];
let d1 = [v1, ctx];
if (ctx['env'].flag) {
if (ctx['env'].config.flag) {
b2 = component(\`Child\`, {}, key + \`__2\`, node, ctx);
}
return block1([d1], [b2]);