@@ -16,11 +16,9 @@ describe('ssr: v-show', () => {
16
16
. toMatchInlineSnapshot ( `
17
17
"const { ssrRenderStyle: _ssrRenderStyle } = require(\\"@vue/server-renderer\\")
18
18
19
- const _hoisted_1 = {\\"color\\":\\"red\\"}
20
-
21
19
return function ssrRender(_ctx, _push, _parent) {
22
20
_push(\`<div style=\\"\${_ssrRenderStyle([
23
- _hoisted_1 ,
21
+ {\\"color\\":\\"red\\"} ,
24
22
(_ctx.foo) ? null : { display: \\"none\\" }
25
23
])}\\"></div>\`)
26
24
}"
@@ -48,11 +46,9 @@ describe('ssr: v-show', () => {
48
46
) . toMatchInlineSnapshot ( `
49
47
"const { ssrRenderStyle: _ssrRenderStyle } = require(\\"@vue/server-renderer\\")
50
48
51
- const _hoisted_1 = {\\"color\\":\\"red\\"}
52
-
53
49
return function ssrRender(_ctx, _push, _parent) {
54
50
_push(\`<div style=\\"\${_ssrRenderStyle([
55
- _hoisted_1 ,
51
+ {\\"color\\":\\"red\\"} ,
56
52
{ fontSize: 14 },
57
53
(_ctx.foo) ? null : { display: \\"none\\" }
58
54
])}\\"></div>\`)
@@ -69,12 +65,10 @@ describe('ssr: v-show', () => {
69
65
"const { mergeProps: _mergeProps } = require(\\"vue\\")
70
66
const { ssrRenderAttrs: _ssrRenderAttrs } = require(\\"@vue/server-renderer\\")
71
67
72
- const _hoisted_1 = {\\"color\\":\\"red\\"}
73
-
74
68
return function ssrRender(_ctx, _push, _parent) {
75
69
_push(\`<div\${_ssrRenderAttrs(_mergeProps(_ctx.baz, {
76
70
style: [
77
- _hoisted_1 ,
71
+ {\\"color\\":\\"red\\"} ,
78
72
{ fontSize: 14 },
79
73
(_ctx.foo) ? null : { display: \\"none\\" }
80
74
]
0 commit comments