03 2017 档案
摘要:Ubuntu 系统中,可以使用 apt-get 命令来搭建 LNMP环境。这种方式较编译方式安装更加简便 安装Nginx 1.使用 sudo apt-get install nginx 就能自动安装 Nginx,为了确保获得最新的 Nginx,可以先使用 sudo apt-get update 命令
阅读全文
摘要:ajax请求为异步操作时,返回的数据不会被并列函数执行
阅读全文
摘要:使用vue-resource时,往headers里添加token后,post方法会自动变成options? Vue.http.interceptors.push(function(request, next) { // modify headers request.headers.set('Acce
阅读全文
摘要:function datadel(e){ var arr = String(e).split("."); (arr[arr.length - 1]).length>=3? e= e.toFixed(1):e=e; console.log(e); return e;} var original = d
阅读全文
摘要:$(function(){ $(document).on('tap','.w-location-group .mui-table-view-cell',function(){ var bool = $(this).find('span.location-ico').attr('data-id') =
阅读全文