技术栈:vue2 + vuex + vue-router + webpack + ES6/7 + fetch + sass + flex + svg以功能实现着手学习1. 定位功能 home.vue 通过跨域获取当前的地理位置 http://cangdu.org:8001/v1/cities?typ ...
分类:
其他好文 时间:
2018-05-05 18:40:34
阅读次数:
1255
Http状态码301和302的区别及企业应用案例 原文:http://blog.51cto.com/oldboy/1774260 1、什么是301重定向? 301重定向/跳转一般,表示本网页永久性转移到另一个地址。 301是永久性转移(Permanently Moved),SEO常用的招式,会把旧页 ...
分类:
Web程序 时间:
2018-05-03 01:04:53
阅读次数:
223
ERROR in The node API for `babel` has been moved to `babel-core`. @ multi app 解决方案: ...
今天接着上一篇来实现播放器的槽函数。 先来实现播放模式,槽函数如下: 1 //播放模式 2 void Music::musicPlayPattern() 3 { 4 5 //z=++z%3; 6 if(z==0) 7 { 8 //顺序播放 9 playPattern->setStyleSheet(" ...
分类:
编程语言 时间:
2018-04-24 17:51:11
阅读次数:
283
Dear Marcus Martin and towhee users I am working on GEMC-NVT simulation to predict the VLE of pure compound at various temperatures. The simulation ha ...
分类:
其他好文 时间:
2018-04-15 19:44:52
阅读次数:
202
The CLI moved into a separate package: webpack-cli. Please install 'webpack-cli' in addition to webpack itself to use the CLI. -> When using npm: npm ...
分类:
Web程序 时间:
2018-04-12 22:35:36
阅读次数:
249
re模块 什么是正则? 正则就是用一些具有特殊含义的符号组合到一起(正则表达式)来描述字符或者字符串的方法。或者说:正则就是用来描述一类事物的规则。内嵌在Python中,通过re模块实现。正则表达式模式被编译成一系列的字节码,然后由用c编写的匹配引擎执行。 常用正则表达式符号 最常用的匹配语法 反斜 ...
分类:
其他好文 时间:
2018-04-12 18:02:17
阅读次数:
200
301 Moved Permanently被请求的资源已永久移动到新位置,并且将来任何对此资源的引用都应该使用本响应返回的若干个URI之一。如果可能,拥有链接编辑功能的客户端应当自动把请求的地址修改为从服务器反馈回来的地址。除非额外指定,否则这个响应也是可缓存的。新的永久性的URI应当在响应的Loc ...
分类:
Web程序 时间:
2018-04-04 10:31:00
阅读次数:
235
This blog has moved! Read this post and its comments at its new home. Concurrency can be a great way to speed things up, but what happens when you hav ...
分类:
其他好文 时间:
2018-04-04 00:04:03
阅读次数:
217
小程序官网中并没有明确地说明组件的生命周期,通过查阅资料,内容大致如下: created 组件实例化,但节点树还未导入,因此这时不能用setData attached 节点树完成,可以用setData渲染节点,但无法操作节点 ready(不是onReady) 组件布局完成,这时可以获取节点信息,也可 ...
分类:
其他好文 时间:
2018-03-31 18:16:24
阅读次数:
5183