摘要:
this.$Modal.info({ title: "标题", content: '内容', closable: true, // 就是这行代码 onOk: () => { }, }); 阅读全文
摘要:
函数组件: 发送:const B = ({ navigation}) => { const toDetail = () => { navigation.navigate('detail', { id: 666 }); } }接收: const B = ({ navigation, route }) 阅读全文
摘要:
注:本文来源 https://blog.csdn.net/weixin_39065287/article/details/123895097 定义一个工具: import { Dimensions } from 'react-native'; // 获取竖屏模式的宽度 const deviceWid 阅读全文