上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 44 下一页
摘要: 效果: 安装: npm install @antv/g2 --save 引入: import { Chart } from '@antv/g2'; 使用: <div id="c1"></div> LeftChart() { const chart = new Chart({ container: ' 阅读全文
posted @ 2022-12-28 16:48 龙卷风吹毁停车场 阅读(815) 评论(0) 推荐(0)
摘要: 在 componentDidMount 函数中添加 this.props.navigation.addListener('focus', () => { alert(2) }); 阅读全文
posted @ 2022-12-12 15:06 龙卷风吹毁停车场 阅读(335) 评论(0) 推荐(0)
摘要: navigation.navigate('home', { activeFilterTab: 'posted' }) //传递的对象{ activeFilterTab: 'posted' } 接收方: route.paeams.activeFilterTab 就行 阅读全文
posted @ 2022-12-09 18:06 龙卷风吹毁停车场 阅读(102) 评论(0) 推荐(0)
摘要: this.mySwiper = new Swiper('.swiper-container', { direction: 'vertical', initialSlide : 0 , //设定初始化时slide的索引。 mousewheel: true, //开启鼠标滚动切换 height: win 阅读全文
posted @ 2022-12-02 16:08 龙卷风吹毁停车场 阅读(413) 评论(0) 推荐(0)
摘要: export function browserRedirect() { var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIpho 阅读全文
posted @ 2022-11-29 16:06 龙卷风吹毁停车场 阅读(24) 评论(0) 推荐(0)
摘要: background: url(./img/Group3466734.png) no-repeat; background-size: cover; background-position: center; 阅读全文
posted @ 2022-11-27 20:58 龙卷风吹毁停车场 阅读(454) 评论(0) 推荐(0)
摘要: import { useFocusEffect } from '@react-navigation/native'; useFocusEffect(React.useCallback(() => { console.log('当前页面被激活啦!'); }, [])); 阅读全文
posted @ 2022-10-10 10:06 龙卷风吹毁停车场 阅读(80) 评论(0) 推荐(0)
摘要: 要修改里面的内容 阅读全文
posted @ 2022-10-08 14:15 龙卷风吹毁停车场 阅读(31) 评论(0) 推荐(0)
摘要: github 地址 : https://github.com/Genymobile/scrcpy/releases 根据自己电脑操作系统位数下载 阅读全文
posted @ 2022-10-05 08:38 龙卷风吹毁停车场 阅读(25) 评论(0) 推荐(0)
摘要: react-native 报错 :Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidU 阅读全文
posted @ 2022-09-30 11:12 龙卷风吹毁停车场 阅读(2350) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 44 下一页