javascript - ralat penyepaduan natjs, gesaan tidak ditentukan semasa masa jalan
迷茫
迷茫 2017-07-05 11:00:52
0
1
965

ralat integrasi natjs, apabila menjalankan natjs if (typeof(__weex_define__) === 'function') menggesa undefined

let Nat = {}
if (typeof(__weex_define__) === 'function') {
const camera = require('./camera')
const communication = require('./communication')
const geolocation = require('./geolocation')
const media = require('./media')
const modal = require('./modal')
const recorder = require('./recorder')
const network = require('./network')
const sensor = require('./sensor')
const device = require('./device')
const navigator = require('./navigator')
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

membalas semua(1)
滿天的星座

__weex_define__?

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan