posts - 23,comments - 2,views - 25824
10 2023 档案
使用react-native-drawer,跟着官网配置仍报错,Error: [Reanimated] `valueUnpacker` is not a worklet, js engine: hermes
摘要:在使用react-native-drawer组件时,编译项目报错 试了许多的方法,最后通过在一篇博客中找到解决方法https://blog.csdn.net/lxyoucan/article/details/121851577 因为在使用react-native-drawer时也需要使用react- 阅读全文
posted @ 2023-10-30 12:27 九零菜菜 阅读(142) 评论(0) 推荐(0) 编辑
给react native 添加transform translateY动画报错:Transform with key of "translateY" must be a number:{translateY“:0}
摘要:初学react native,想实现一个相机扫描功能时,报错,报错描述如标题 这是我的主要逻辑代码 const fadeAnim = useRef(new Animated.Value(0)).current; const move = () => { fadeAnim.setValue(0); A 阅读全文
posted @ 2023-10-25 13:30 九零菜菜 阅读(125) 评论(0) 推荐(0) 编辑
css设置backgroud:url(),无效
摘要:react项目中,使用styled-components编写样式,给元素添加背景图不生效。 background直接设置十六进制颜色或者颜色的英文名称都是可行的,但是使用url无作用,那就是url问题了,于是我想换一种思路,能不能把图片import进来,放进url里,避免错误的路径呢,于是 哎嘿,好 阅读全文
posted @ 2023-10-18 12:09 九零菜菜 阅读(139) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示