瀏覽代碼

auto commit

app
jfinn 3 年之前
父節點
當前提交
ccf0c0edc3
共有 1 個檔案被更改,包括 5 行新增3 行删除
  1. 5
    3
      mdev/wv0.native.js

+ 5
- 3
mdev/wv0.native.js 查看文件

127
 
127
 
128
 
128
 
129
                         // style={ {} }
129
                         // style={ {} }
130
-        return (
130
+        // return (
131
+        var ret =  (
131
                         <View  style={wview_btns.style_v0 || {}}>
132
                         <View  style={wview_btns.style_v0 || {}}>
132
             <Button_v2 
133
             <Button_v2 
133
             prop_id = "b1"
134
             prop_id = "b1"
134
                          style = { wview_btns.style_b1 || {}} 
135
                          style = { wview_btns.style_b1 || {}} 
135
                          color={wview_btns.color_b1}
136
                          color={wview_btns.color_b1}
136
-                         onPress = {dbg_vbx_onpress}
137
+                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret})}
137
                          >
138
                          >
138
              {wview_btns.b1_txt  || "udef1"}
139
              {wview_btns.b1_txt  || "udef1"}
139
              </Button_v2>
140
              </Button_v2>
145
                          labelStyle = { wview_btns.style_b2l || {}} 
146
                          labelStyle = { wview_btns.style_b2l || {}} 
146
 
147
 
147
                          color={wview_btns.color_b2}
148
                          color={wview_btns.color_b2}
148
-                         onPress = {fncb_only_v2("vbx_press",{wvt:this})}
149
+                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret})}
149
                          >
150
                          >
150
              {wview_btns.b2_txt  || "udef2"}
151
              {wview_btns.b2_txt  || "udef2"}
151
              </Button_v2>
152
              </Button_v2>
160
                                     </View>
161
                                     </View>
161
 
162
 
162
             )
163
             )
164
+        return ret 
163
 
165
 
164
     }
166
     }
165
 }
167
 }

Loading…
取消
儲存