@@ -21,7 +21,7 @@ Generated by [AVA](https://avajs.dev).
2121 return __inner_style_data__;␊
2222 }␊
2323 const Index = ()=>{␊
24- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, null);␊
24+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, null);␊
2525 };␊
2626 export default Index;␊
2727 `
@@ -72,7 +72,7 @@ Generated by [AVA](https://avajs.dev).
7272 return __inner_style_data__;␊
7373 }␊
7474 const Index = ()=>{␊
75- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, __nesting_style__());␊
75+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, __nesting_style__());␊
7676 };␊
7777 export default Index;␊
7878 `
@@ -123,7 +123,7 @@ Generated by [AVA](https://avajs.dev).
123123 return __inner_style_data__;␊
124124 }␊
125125 const Index = ()=>{␊
126- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, __nesting_style__());␊
126+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, __nesting_style__());␊
127127 };␊
128128 export default Index;␊
129129 `
@@ -164,7 +164,7 @@ Generated by [AVA](https://avajs.dev).
164164 return __inner_style_data__;␊
165165 }␊
166166 const Index = ()=>{␊
167- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, __nesting_style__());␊
167+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, __nesting_style__());␊
168168 };␊
169169 export default Index;␊
170170 `
@@ -189,7 +189,7 @@ Generated by [AVA](https://avajs.dev).
189189 return __inner_style_data__;␊
190190 }␊
191191 const Index = ()=>{␊
192- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, null);␊
192+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, null);␊
193193 };␊
194194 export default Index;␊
195195 `
@@ -211,7 +211,7 @@ Generated by [AVA](https://avajs.dev).
211211 return __inner_style_data__;␊
212212 }␊
213213 const Index = ()=>{␊
214- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, null);␊
214+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, null);␊
215215 };␊
216216 export default Index;␊
217217 `
@@ -233,7 +233,7 @@ Generated by [AVA](https://avajs.dev).
233233 return __inner_style_data__;␊
234234 }␊
235235 const Index = ()=>{␊
236- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, null);␊
236+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, null);␊
237237 };␊
238238 export default Index;␊
239239 `
@@ -244,16 +244,10 @@ Generated by [AVA](https://avajs.dev).
244244
245245 `import { View } from '@tarojs/components';␊
246246 import { calcStaticStyle, convertNumber2VP, __combine_nesting_style__, __var_fn, globalCss } from "@tarojs/runtime";␊
247- let __inner_style_data__;␊
248- function __inner_style__() {␊
249- if (__inner_style_data__) return __inner_style_data__;␊
250- __inner_style_data__ = {};␊
251- return __inner_style_data__;␊
252- }␊
253247 const Index = ()=>{␊
254- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), null, {␊
255- height: convertNumber2VP(100) ␊
256- }) }/>, null);␊
248+ return __combine_nesting_style__(<View style={ {␊
249+ height: '100px' ␊
250+ }}/>, null);␊
257251 };␊
258252 export default Index;␊
259253 `
@@ -278,17 +272,10 @@ Generated by [AVA](https://avajs.dev).
278272
279273 `import { View } from '@tarojs/components';␊
280274 import { calcStaticStyle, convertNumber2VP, __combine_nesting_style__, __var_fn, globalCss } from "@tarojs/runtime";␊
281- let __inner_style_data__;␊
282- function __inner_style__() {␊
283- if (__inner_style_data__) return __inner_style_data__;␊
284- __inner_style_data__ = {};␊
285- return __inner_style_data__;␊
286- }␊
287275 const Index = ()=>{␊
288- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), null, {␊
289- width: convertNumber2VP(100)␊
290- })} style={{␊
291- height: Math.random() > 0 ? '100px' : '50px'␊
276+ return __combine_nesting_style__(<View style={{␊
277+ height: Math.random() > 0 ? '100px' : '50px',␊
278+ width: '100px'␊
292279 }}/>, null);␊
293280 };␊
294281 export default Index;␊
@@ -311,7 +298,7 @@ Generated by [AVA](https://avajs.dev).
311298 return __inner_style_data__;␊
312299 }␊
313300 const Index = ()=>{␊
314- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'item', null )} className='item'/>, null);␊
301+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'item')} className='item'/>, null);␊
315302 };␊
316303 export default Index;␊
317304 `
@@ -333,7 +320,7 @@ Generated by [AVA](https://avajs.dev).
333320 return __inner_style_data__;␊
334321 }␊
335322 const Index = ()=>{␊
336- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'item', null )} className='item'/>, null);␊
323+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'item')} className='item'/>, null);␊
337324 };␊
338325 export default Index;␊
339326 `
@@ -363,7 +350,7 @@ Generated by [AVA](https://avajs.dev).
363350 return __inner_style_data__;␊
364351 }␊
365352 const Index = ()=>{␊
366- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, null);␊
353+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, null);␊
367354 };␊
368355 export default Index;␊
369356 `
@@ -397,7 +384,7 @@ Generated by [AVA](https://avajs.dev).
397384 return __inner_style_data__;␊
398385 }␊
399386 const Index = ()=>{␊
400- return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index', null )} className='index'/>, null);␊
387+ return __combine_nesting_style__(<View __hmStyle={calcStaticStyle(__inner_style__(), 'index')} className='index'/>, null);␊
401388 };␊
402389 export default Index;␊
403390 `
0 commit comments