@@ -10,22 +10,22 @@ export const FlattenText = () => {
10
10
return t `
11
11
<text wx:elif="{{${ ids . meta } .${ ids . type } === 'text'}}" data-goji-id="{{${ ids . meta } .${ ids . gojiId } || -1}}" id="{{${ ids . meta } .${ ids . props } .id}}" class="{{${ ids . meta } .${ ids . props } .className}}" style="{{${ ids . meta } .${ ids . props } .style || ''}}" selectable="{{${ ids . meta } .${ ids . props } .selectable}}" space="{{${ ids . meta } .${ ids . props } .space}}" decode="{{${ ids . meta } .${ ids . props } .decode}}" bindtouchstart="e" bindtouchmove="e" bindtouchcancel="e" bindtouchend="e" bindtap="e" bindlongpress="e" bindlongtap="e" bindtransitionend="e" bindanimationstart="e" bindanimationiteration="e" bindanimationend="e" bindtouchforcechange="e">
12
12
<block wx:for="{{${ ids . meta } .${ ids . children } }}" wx:key="${ ids . gojiId } ">
13
- <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.text}}</block>
13
+ <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.${ ids . text } }}</block>
14
14
<text wx:elif="item.${ ids . type } === 'text'" data-goji-id="{{item.${ ids . gojiId } || -1}}" id="{{${ ids . meta } .${ ids . props } .id}}" class="{{item.${ ids . props } .className}}" style="{{item.${ ids . props } .style || ''}}" selectable="{{item.${ ids . props } .selectable}}" space="{{item.${ ids . props } .space}}" decode="{{item.${ ids . props } .decode}}" bindtouchstart="e" bindtouchmove="e" bindtouchcancel="e" bindtouchend="e" bindtap="e" bindlongpress="e" bindlongtap="e" bindtransitionend="e" bindanimationstart="e" bindanimationiteration="e" bindanimationend="e" bindtouchforcechange="e">
15
15
<block wx:for="{{item.${ ids . children } }}" wx:key="${ ids . gojiId } ">
16
- <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.text}}</block>
16
+ <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.${ ids . text } }}</block>
17
17
<text wx:elif="item.${ ids . type } === 'text'" data-goji-id="{{item.${ ids . gojiId } || -1}}" id="{{${ ids . meta } .${ ids . props } .id}}" class="{{item.${ ids . props } .className}}" style="{{item.${ ids . props } .style || ''}}" selectable="{{item.${ ids . props } .selectable}}" space="{{item.${ ids . props } .space}}" decode="{{item.${ ids . props } .decode}}" bindtouchstart="e" bindtouchmove="e" bindtouchcancel="e" bindtouchend="e" bindtap="e" bindlongpress="e" bindlongtap="e" bindtransitionend="e" bindanimationstart="e" bindanimationiteration="e" bindanimationend="e" bindtouchforcechange="e">
18
18
<block wx:for="{{item.${ ids . children } }}" wx:key="${ ids . gojiId } ">
19
- <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.text}}</block>
19
+ <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.${ ids . text } }}</block>
20
20
<text wx:elif="item.${ ids . type } === 'text'" data-goji-id="{{item.${ ids . gojiId } || -1}}" id="{{${ ids . meta } .${ ids . props } .id}}" class="{{item.${ ids . props } .className}}" style="{{item.${ ids . props } .style || ''}}" selectable="{{item.${ ids . props } .selectable}}" space="{{item.${ ids . props } .space}}" decode="{{item.${ ids . props } .decode}}" bindtouchstart="e" bindtouchmove="e" bindtouchcancel="e" bindtouchend="e" bindtap="e" bindlongpress="e" bindlongtap="e" bindtransitionend="e" bindanimationstart="e" bindanimationiteration="e" bindanimationend="e" bindtouchforcechange="e">
21
21
<block wx:for="{{item.${ ids . children } }}" wx:key="${ ids . gojiId } ">
22
- <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.text}}</block>
22
+ <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.${ ids . text } }}</block>
23
23
<text wx:elif="item.${ ids . type } === 'text'" data-goji-id="{{item.${ ids . gojiId } || -1}}" id="{{${ ids . meta } .${ ids . props } .id}}" class="{{item.${ ids . props } .className}}" style="{{item.${ ids . props } .style || ''}}" selectable="{{item.${ ids . props } .selectable}}" space="{{item.${ ids . props } .space}}" decode="{{item.${ ids . props } .decode}}" bindtouchstart="e" bindtouchmove="e" bindtouchcancel="e" bindtouchend="e" bindtap="e" bindlongpress="e" bindlongtap="e" bindtransitionend="e" bindanimationstart="e" bindanimationiteration="e" bindanimationend="e" bindtouchforcechange="e">
24
24
<block wx:for="{{item.${ ids . children } }}" wx:key="${ ids . gojiId } ">
25
- <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.text}}</block>
25
+ <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.${ ids . text } }}</block>
26
26
<text wx:elif="item.${ ids . type } === 'text'" data-goji-id="{{item.${ ids . gojiId } || -1}}" id="{{${ ids . meta } .${ ids . props } .id}}" class="{{item.${ ids . props } .className}}" style="{{item.${ ids . props } .style || ''}}" selectable="{{item.${ ids . props } .selectable}}" space="{{item.${ ids . props } .space}}" decode="{{item.${ ids . props } .decode}}" bindtouchstart="e" bindtouchmove="e" bindtouchcancel="e" bindtouchend="e" bindtap="e" bindlongpress="e" bindlongtap="e" bindtransitionend="e" bindanimationstart="e" bindanimationiteration="e" bindanimationend="e" bindtouchforcechange="e">
27
27
<block wx:for="{{item.${ ids . children } }}" wx:key="${ ids . gojiId } ">
28
- <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.text}}</block>
28
+ <block wx:if="{{item.${ ids . type } === 'GOJI_TYPE_TEXT'}}">{{item.${ ids . text } }}</block>
29
29
<text wx:elif="item.${ ids . type } === 'text'" data-goji-id="{{item.${ ids . gojiId } || -1}}" id="{{${ ids . meta } .${ ids . props } .id}}" class="{{item.${ ids . props } .className}}" style="{{item.${ ids . props } .style || ''}}" selectable="{{item.${ ids . props } .selectable}}" space="{{item.${ ids . props } .space}}" decode="{{item.${ ids . props } .decode}}" bindtouchstart="e" bindtouchmove="e" bindtouchcancel="e" bindtouchend="e" bindtap="e" bindlongpress="e" bindlongtap="e" bindtransitionend="e" bindanimationstart="e" bindanimationiteration="e" bindanimationend="e" bindtouchforcechange="e"></text>
30
30
</block>
31
31
</text>
0 commit comments