时间:2019-05-03 来源:小程序工厂
来***:
Uncaught TypeError: Cannot read property 'r' of null
at new h (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\5b7e808cbfe14a62c21959fb1771749d.js:1)
at Proxy.fromHex (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\5b7e808cbfe14a62c21959fb1771749d.js:1)
at Function.module.exports.c [as mapToProps] (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\d3fc1d4b6cfd440a6300e62456252a06.js:1)
at mapToPropsProxy (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54)
at handleNewState (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:63)
at handleSubsequentCalls (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:80)
at pureFinalPropsSelector (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85)
at Object.runComponentSelector [as run] (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43)
at Connect.componentWillReceiveProps (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:167)
at callComponentWillReceiveProps (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-dom\cjs\react-dom.development.js:6372)
D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\29cbb96f0d87ca0a3ee63c5dbbd8107c.js:1 TypeError: Cannot read property 'r' of null
林***:
抱歉这是我们的 bug,请检查 app.json 中的 navigationBarBackgroundColor 是否是合法颜色值,以及是否有调用 setNavigationBarColor 并传入了非法的 backgroundColor 值
微信小程序调用微信小程序或者H5--微信小程序开发教程 ...
来***:
已经解决,谢谢