weex-29-自定義掃描二維碼模塊

7D1F586E-602B-41FA-8C03-36FBC9F16506.png 本節學習目標 定義一個掃描二維碼模塊 模塊名稱 camera var camera = weex.requireModule('camera') API scanCode(callback) camera.scanCode(res=>{ this.qr = res.data; }) 參數 res.result
相關文章
相關標籤/搜索