oh-bear / 2life Goto Github PK
View Code? Open in Web Editor NEW💌 双生:遇见另一半的美好:)(React Native)
License: Apache License 2.0
💌 双生:遇见另一半的美好:)(React Native)
License: Apache License 2.0
npm install
react-native run-android
react-native start
客户端红屏报出标题的错误.
看到这里同样有这个错误,尝试更换了rn版本,好像也不行.
GeekyAnts/NativeBase#851
发现在 src/containers/home/UpdateDiary.js
第 92 行代码存在逻辑问题,当 images
长度为 0
(即用户更新时没有添加图片)时,通过 ,
分割会返回一个空字符串,所以会导致更新出错。
const data = {
note_id: this.props.diary.id,
title,
content,
images: [...imageList, ...(images.length ? images.split(',') : [])].join(','),
mode: this.props.diary.mode
}
![1](https://airing.ursb.me/image/twolife/male.png-46.jpg) Nate
---
反馈功能测试
版本是v1.2发布版
npm install
报告一个警告:
pm WARN EPEERINVALID [email protected] requires a peer of [email protected] but none was installed.
npm start
然后xcode打开项目,运行的时候报错,
*** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'i.ViewPropTypes.style')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'i.ViewPropT..., stack:
大神,package.json是不是该改改了?
全栈?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.