chore: fix codegen error due to scopeId deprecation change
This commit is contained in:
@@ -14,7 +14,7 @@ export function render(_ctx, _cache) {
|
||||
_createTextVNode(_toDisplayString(_ctx.foo), 1 /* TEXT */),
|
||||
_hoisted_2
|
||||
]))
|
||||
})"
|
||||
}"
|
||||
`;
|
||||
|
||||
exports[`scopeId compiler support should wrap default slot 1`] = `
|
||||
@@ -29,7 +29,7 @@ export function render(_ctx, _cache) {
|
||||
]),
|
||||
_: 1 /* STABLE */
|
||||
}))
|
||||
})"
|
||||
}"
|
||||
`;
|
||||
|
||||
exports[`scopeId compiler support should wrap dynamic slots 1`] = `
|
||||
@@ -56,7 +56,7 @@ export function render(_ctx, _cache) {
|
||||
}
|
||||
})
|
||||
]), 1024 /* DYNAMIC_SLOTS */))
|
||||
})"
|
||||
}"
|
||||
`;
|
||||
|
||||
exports[`scopeId compiler support should wrap named slots 1`] = `
|
||||
@@ -74,5 +74,5 @@ export function render(_ctx, _cache) {
|
||||
]),
|
||||
_: 1 /* STABLE */
|
||||
}))
|
||||
})"
|
||||
}"
|
||||
`;
|
||||
|
||||
@@ -304,10 +304,6 @@ export function generate(
|
||||
deindent()
|
||||
push(`}`)
|
||||
|
||||
if (genScopeId && !isSetupInlined) {
|
||||
push(`)`)
|
||||
}
|
||||
|
||||
return {
|
||||
ast,
|
||||
code: context.code,
|
||||
|
||||
Reference in New Issue
Block a user