react-native中使用SockJs和StompJs
本文梳理在使用过程中遇到的坑点(Android)
本文梳理在使用过程中遇到的坑点(Android)
react-native run-android
当你输入这个命令调试App时候,出现找不到index.js.bundle 文件.
如何解决呢?打开你的App,Menu->Dev Settings->Debugging->Debug Server host & port for devices
然后输入你的服务ip和端口,端口通常是8081。
然后返回到App主界面,Menu->Reload .这时候App应该能正常显示了
导致打包出来的apk启动后出现错误。这是因为没有生成index.js.bundle文件到asset目录
如何解决:https://github.com/facebook/react-native/issues/7258
今天修复APP BUG,无意中发现了以前遗留的问题:
1.从server 获取到数据后append到ul上,没有清空ul(低级错误啊,竟然没有发现),导致list越来越长 ==!。
1.jQuery几种符号选择器的区别(以前也知道,貌似很久没用就忘了,看来得多用啊)
空格:$('parent childchild');//表示获取parent下的所有的childchild节点(所有的子孙)。 |
原文:http://my.oschina.net/jsonavaj/blog/62630
2.Jquey删除掉元素前先过滤:
element_list.not(":first").remove();//移除除第一个以外的所有元素 |
3.MSSQL 的update from 语法
update a set a.fk_name = b.name from a,b where a.fid = b.id |
如果直接把CNAME放到.deploy_git。当使用hexo d 部署时,会导致CNAME被删除掉。
_config.yml中把language设置为zh-CN时,使用next主题导致网页内容变成德语,应该设置为zh-Hans
https://www.zhihu.com/question/41625825/answer/91769304
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
$ hexo new "My New Post test" |
More info: Writing
$ hexo server |
More info: Server
$ hexo generate |
More info: Generating
$ hexo deploy |
More info: Deployment