Closed zuijiusi closed 5 years ago
你这边用的rn的版本是多少呢?
你这边用的rn的版本是多少呢?
"react-native": "^0.58.6"
你是怎么使用这个组件的呢?这个具体要看一下你使用的方法,你把你的代码粘贴一下,我看看吧
rn版本是:0.59.1 抛出异常:nvariant Violation: Invariant Violation: [145,"RCTView",91,{"width":"<>","height":0,"backgroundColor":0}] is not usable as a native method argument
你把你这个组件部分的代码粘贴一下,我看看吧
<PageScrollView style={{width:300,height:160}} imageArr={this.state.imgList} /> nvariant Violation: Invariant Violation: [145,"RCTView",91,{"width":"<>","height":0,"backgroundColor":0}] is not usable as a native method argument