diff --git a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap index 073874363b8..b0076294efe 100644 --- a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap +++ b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap @@ -1003,10 +1003,12 @@ export default { setup(__props) { const count = ref(0) + const style = { color: 'red' } return (_ctx, _push, _parent, _attrs) => { const _cssVars = { style: { - \\"--xxxxxxxx-count\\": (count.value) + \\"--xxxxxxxx-count\\": (count.value), + \\"--xxxxxxxx-style\\\\\\\\.color\\": (style.color) }} _push(\`