javascript - natjs 集成错误 ,运行时 提示undefined
迷茫
迷茫 2017-07-05 11:00:52
0
1
980

natjs 集成错误 ,运行时 natjs时 if (typeof(__weex_define__) === 'function') 提示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')
迷茫
迷茫

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

全部回复(1)
滿天的星座

__weex_define__

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板