@@ -21,7 +21,7 @@ Generated by [AVA](https://avajs.dev).
21
21
return __inner_style_data__;␊
22
22
}␊
23
23
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);␊
25
25
};␊
26
26
export default Index;␊
27
27
`
@@ -72,7 +72,7 @@ Generated by [AVA](https://avajs.dev).
72
72
return __inner_style_data__;␊
73
73
}␊
74
74
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__());␊
76
76
};␊
77
77
export default Index;␊
78
78
`
@@ -123,7 +123,7 @@ Generated by [AVA](https://avajs.dev).
123
123
return __inner_style_data__;␊
124
124
}␊
125
125
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__());␊
127
127
};␊
128
128
export default Index;␊
129
129
`
@@ -164,7 +164,7 @@ Generated by [AVA](https://avajs.dev).
164
164
return __inner_style_data__;␊
165
165
}␊
166
166
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__());␊
168
168
};␊
169
169
export default Index;␊
170
170
`
@@ -189,7 +189,7 @@ Generated by [AVA](https://avajs.dev).
189
189
return __inner_style_data__;␊
190
190
}␊
191
191
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);␊
193
193
};␊
194
194
export default Index;␊
195
195
`
@@ -211,7 +211,7 @@ Generated by [AVA](https://avajs.dev).
211
211
return __inner_style_data__;␊
212
212
}␊
213
213
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);␊
215
215
};␊
216
216
export default Index;␊
217
217
`
@@ -233,7 +233,7 @@ Generated by [AVA](https://avajs.dev).
233
233
return __inner_style_data__;␊
234
234
}␊
235
235
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);␊
237
237
};␊
238
238
export default Index;␊
239
239
`
@@ -244,16 +244,10 @@ Generated by [AVA](https://avajs.dev).
244
244
245
245
`import { View } from '@tarojs/components';␊
246
246
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
- }␊
253
247
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);␊
257
251
};␊
258
252
export default Index;␊
259
253
`
@@ -278,17 +272,10 @@ Generated by [AVA](https://avajs.dev).
278
272
279
273
`import { View } from '@tarojs/components';␊
280
274
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
- }␊
287
275
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'␊
292
279
}}/>, null);␊
293
280
};␊
294
281
export default Index;␊
@@ -311,7 +298,7 @@ Generated by [AVA](https://avajs.dev).
311
298
return __inner_style_data__;␊
312
299
}␊
313
300
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);␊
315
302
};␊
316
303
export default Index;␊
317
304
`
@@ -333,7 +320,7 @@ Generated by [AVA](https://avajs.dev).
333
320
return __inner_style_data__;␊
334
321
}␊
335
322
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);␊
337
324
};␊
338
325
export default Index;␊
339
326
`
@@ -363,7 +350,7 @@ Generated by [AVA](https://avajs.dev).
363
350
return __inner_style_data__;␊
364
351
}␊
365
352
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);␊
367
354
};␊
368
355
export default Index;␊
369
356
`
@@ -397,7 +384,7 @@ Generated by [AVA](https://avajs.dev).
397
384
return __inner_style_data__;␊
398
385
}␊
399
386
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);␊
401
388
};␊
402
389
export default Index;␊
403
390
`
0 commit comments