上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页
摘要: jsonAjaxGet(url,type,param,successfn,errorfn){ var _this = this ; $.ajax({ type: type, url: _this.API_BASE_URL + url, data: param, dataType: 'json', h 阅读全文
posted @ 2021-02-23 17:21 Panax 阅读(154) 评论(0) 推荐(0)
摘要: <el-table ref="filterTable" :data="tableData" :header-cell-style="rowClass" :cell-style="set_cell_style" :height='heightTable' style="width: 100%"> </ 阅读全文
posted @ 2021-02-23 16:59 Panax 阅读(9155) 评论(1) 推荐(0)
摘要: tipsBox ( option ) { var _this = this ; if(_this.platForm){ //_this.platForm 判断平台 _this.$message.error(option.message); // 运用了elementUI 的组件 }else{ var 阅读全文
posted @ 2021-02-23 16:50 Panax 阅读(92) 评论(0) 推荐(0)
摘要: mounted: function () { let _this = this ; var str = window.navigator.userAgent; // 判断设备 console.log(str,' str') if(str.toLowerCase().indexOf("mobile") 阅读全文
posted @ 2021-02-23 16:45 Panax 阅读(602) 评论(0) 推荐(0)
摘要: wx.showToast({ title: '需要您授权用户信息用于注册或登陆', icon: 'none', }) 阅读全文
posted @ 2020-08-07 16:43 Panax 阅读(290) 评论(0) 推荐(0)
摘要: wx.navigateToMiniProgram({ appId: '', success(res) { }, }) 阅读全文
posted @ 2020-08-07 16:42 Panax 阅读(163) 评论(0) 推荐(0)
摘要: 1. 刷新远程分支的命令行:git remote update origin -p 2. 获取远程分支,需要切换:git fetch origin branch_name3. 指定远程分支,便于git pull git push ,使用 git branch --set-upstream-to=or 阅读全文
posted @ 2020-08-07 16:37 Panax 阅读(1870) 评论(2) 推荐(1)
摘要: 解决办法: git config --system --unset credential.helper 此后又会重复让输入账号,密码,很烦,然后: git config --global credential.helper store 输入账号密码,下次就不会让重复输入了。 阅读全文
posted @ 2020-08-07 16:32 Panax 阅读(1098) 评论(0) 推荐(0)
摘要: 当web缓存发现请求的资源,浏览器拦截请求,返回该资源的拷贝,而不会去源服务器重新下载。 优点:缓解服务器端压力,提升性能(减少网页加载速度)提高用户体验。 浏览器缓存有两种方式:强缓存和协商缓存。 请求资源时浏览器怎么知道是强缓存还是协商缓存? 用户首次请求并获取到该资源后,根据返回的信息来告诉如 阅读全文
posted @ 2020-07-29 14:17 Panax 阅读(187) 评论(0) 推荐(0)
摘要: 请求服务器时,服务器会向请求的浏览器返回一个包含http状态码的信息头用以响应浏览器的请求。 常见的http状态码: 1. 200 请求成功 2. 301资源被永久转移到其他Url 3. 404请求的资源(网页等不存在) 4.500 内部服务器错误。 分为五类: 1. 开头: 服务器收到请求,需要请 阅读全文
posted @ 2020-07-29 11:50 Panax 阅读(128) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页