Closed lzjchina closed 1 year ago
请先参考下 issue 规范:https://github.com/supervons/react-native-echarts-pro/issues/6 提供下必要信息。
目前有发现 Webview
中 androidHardwareAccelerationDisabled={true}
属性开启会导致部分机型闪退,可以去掉代码里的这行试一下。
文件位置:src/components/Echarts/index.js
Line 160.
import React, {useEffect, useRef, useState} from "react"; import {StyleSheet, Text, View} from "react-native"; import ECharts from "react-native-echarts-pro";
const LineChart = (props) => {
}
const styles = StyleSheet.create({ });
export default LineChart