hoyong

导航

< 2025年3月 >
23 24 25 26 27 28 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 29
30 31 1 2 3 4 5

统计

07 2019 档案

ReactNative问题: Failed child context type: Invalid child context `virtualizedCell.cellKey` of type `number` supplied(转)
摘要:FlatList使用, 解决方法:将_keyExtractor = (item, index) => index转为_keyExtractor = (item, index) => index.toString() 阅读全文

posted @ 2019-07-30 15:24 hoyong 阅读(674) 评论(0) 推荐(0) 编辑

如何使用VSCode 的Setting Sync插件(转)
摘要:如何使用 VSCode 的 Setting Sync 插件 这个是根据一位朋友的分享来整理发布的~ 使用插件将目前配置保存到 GitHub 上,以后只需要从 GitHub 上获取,就可以一次性安装插件配置信息。 Setting Sync 可同步包含的所有扩展和完整的用户文件夹 1) 设置文件 2) 阅读全文

posted @ 2019-07-26 16:17 hoyong 阅读(313) 评论(0) 推荐(0) 编辑

为react-native组件创建样式属性有两种方法(转)
摘要:第一种是在组件的style属性中直接插入一个包含样式属性的js对象: 第二种是使用StyleSheet创建一个样式表对象: 属性列表 1.宽高 width //宽 height //高 2.背景颜色(backgroundColor) backgroundColor opacity //透明度 3.边 阅读全文

posted @ 2019-07-26 11:19 hoyong 阅读(424) 评论(0) 推荐(0) 编辑

IDEA Material Theme UI 暗黑系主题的安装(转)
摘要:到jetbrains 官网下载了这个主题主题在IDEA官网的地址 https://plugins.jetbrains.com/search?headline=164-theme&pr_productId=&canRedirectToPlugin=false&showPluginCount=false 阅读全文

posted @ 2019-07-20 12:19 hoyong 阅读(4336) 评论(0) 推荐(0) 编辑

webstorm2017.3最新激活教程(旧版本可用,亲测成功,有疑问随时联系)(转)
摘要:一、License server 注册安装完成,打开Webstorm,在弹出的License Activation窗口中选择“License server”,在输入框输入下面的网址:http://idea.imsxm.com/ 有小伙伴反映版本更新之后该链接不起作用了,请使用以下链接: http:/ 阅读全文

posted @ 2019-07-19 15:13 hoyong 阅读(1129) 评论(0) 推荐(0) 编辑

ReactNative问题:info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. error Failed to run jetifier. Run CLI with --verbose flag for more details. Error:
摘要:ReactNative问题: info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.error Failed to run jetifier. Run 阅读全文

posted @ 2019-07-16 16:33 hoyong 阅读(4380) 评论(0) 推荐(0) 编辑

ReactNative问题: warning react-native > create-react-class > fbjs > core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2
摘要:ReactNative问题: warning react-native > create-react-class > fbjs > core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 阅读全文

posted @ 2019-07-13 16:15 hoyong 阅读(14475) 评论(0) 推荐(3) 编辑

异常React XXX is defined but never used no-unused-vars webpackHotDevClient.js
摘要:原因: 在组件中输入了import {Link} from 'react-router-dom'; 但是没有使用Link 将语句注释掉OK; 阅读全文

posted @ 2019-07-10 16:43 hoyong 阅读(3972) 评论(0) 推荐(0) 编辑

NodeJS常用文件相关命令操作
摘要:删除不必要的文件及文件夹 主要使用rm指令来进行操作 在cmder中输入:rm –help 查看rm的相关说明 执行删除操作 rm -rf node_modules(删除node_modules文件夹) rm -rf node_modules(删除node_modules文件夹) npm cache 阅读全文

posted @ 2019-07-10 15:48 hoyong 阅读(1001) 评论(0) 推荐(0) 编辑

跨域
摘要:域名 端口 协议 三者有一不同就跨域; 处理: 1. JSONP; 2. 后台允许跨域; 此方式需要服务器接口API支持JOSNP; 如何查看服务器接口支持JSONP: 如正常请求地址: http://www.phonegap100.com/appapi.php?a=getPortalList&ca 阅读全文

posted @ 2019-07-02 15:05 hoyong 阅读(81) 评论(0) 推荐(0) 编辑

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