Shengwu Cong
Shengwu Cong
我这里搜到一个方法 为treeselect组件设置属性:`:flat="true"` 在treeselect组件属性的:`:normalizer="normalizer"`中使用如下函数 ```JavaScript normalizer(node) { return { isDisabled: node.id === 0, // 这里假设根节点的id为0 } }, ``` 这个库感觉已经完全弃用了,不建议使用
这个库作者已经好久不维护了,应该是放弃了。 我这里有两个解决方案。 一个是换另一个库https://github.com/supervons/react-native-echarts-pro ,作者是基于这个库重构的。 继续使用这个库的话,可以修改node_modules目录下,native-echarts目录中的源码。把所有从"react-native"导入的"WebView"组件换成`import WebView from 'react-native-webview';`,从"react-native-webview"中导入。
Hi @memorybx @puxiaoshuai, you can try this way: First in the place of using echarts: ``` ``` Second, modify the source code of echarts to transfer customData: The position of...
@WayneShao Sure, let's figure it out, maybe you can submit a pull request.
这个问题主要是发生在苹果芯片上吧,app debug运行在arm64的虚拟机上,我找了了几个解决方案. --- 我自己采用的方案如下: - 打开xcode,打开项目的Build Settings -> Architectures -> Excluded Architectures -> Debug, 然后选择Any iOS Simulator, 并给它填上值arm64. (**具体设置截图在下面**) - 打开iOS目录下的Podfile文件,在整个文件结尾处添加如下代码: ``` post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] =...