当justifyContent不工作时,试试加上 flexDirection:'row' 样式, 也许可以解决问题! Read More
posted @ 2017-05-05 10:48 NOIP/NOI辅导 Views(615) Comments(0) Diggs(0) Edit
问题原因: React Router是客户端的路由,当再次刷新时,IIS无法定位,因此抛出404错误。 解决方法: 配置站点下的web.config文件。 <rewrite><rules> <rule name="Rewrite Text Requests" stopProcessing="true Read More
posted @ 2017-04-12 10:13 NOIP/NOI辅导 Views(1291) Comments(0) Diggs(0) Edit
<httpProtocol> <customHeaders> <!-- 跨域配置 --> <add name="Access-Control-Allow-Origin" value="*" /> </customHeaders> </httpProtocol> Read More
posted @ 2017-03-21 13:53 NOIP/NOI辅导 Views(287) Comments(0) Diggs(0) Edit
import resolveAssetSource from 'resolveAssetSource'; et icon = require('./images/1.png'); let source = resolveAssetSource(icon); // source.width, sour Read More
posted @ 2017-03-20 21:10 NOIP/NOI辅导 Views(4120) Comments(0) Diggs(0) Edit
如果 refreshing=false, 即使更新了reducer中的数据,list view也不更新。 Read More
posted @ 2017-03-16 16:56 NOIP/NOI辅导 Views(87) Comments(0) Diggs(0) Edit
Clip subviews content out of bounds In iOS when you want to clip part of the subviews that are out of the bounds you just set clipsToBounds = YES; in Read More
posted @ 2017-03-07 15:39 NOIP/NOI辅导 Views(272) Comments(0) Diggs(0) Edit
a valid provisioning profile for this executable was not found异常 a valid provisioning profile for this executable was not found异常 a valid provisioning Read More
posted @ 2017-02-25 11:31 NOIP/NOI辅导 Views(170) Comments(0) Diggs(0) Edit
概念,内部访问外部的变量! 简单例子 稍微复杂例子 Read More
posted @ 2017-01-18 11:45 NOIP/NOI辅导 Views(117) Comments(0) Diggs(0) Edit
1, Object.assign() Cloning an object Merging objects 2, JSON.parse Read More
posted @ 2016-11-18 15:15 NOIP/NOI辅导 Views(159) Comments(0) Diggs(0) Edit
当做iCloud备份时, 返回url = nil, 说明当前没有document的权限。 解决:需要勾选:iCloud Document项 Read More
posted @ 2016-11-16 19:55 NOIP/NOI辅导 Views(149) Comments(0) Diggs(0) Edit