摘要: // autoHeight 必须有高度 :scroll-y="true" 设置横向竖向滚动 <scroll-view :style="{height:autoHeight}" :scroll-y="true" @scroll="scroll" :scroll-with-animation="true 阅读全文
posted @ 2021-02-23 20:07 Panax 阅读(265) 评论(0) 推荐(0) 编辑
摘要: // 说白了 body 参数通常在post请求方式下 query 在get请求方式下 ,以问号? 有的时候接口会query 和body参数混用,就需要在请求url 拼上 阅读全文
posted @ 2021-02-23 19:38 Panax 阅读(2661) 评论(0) 推荐(1) 编辑
摘要: 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 阅读(145) 评论(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 阅读(8702) 评论(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 阅读(82) 评论(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 阅读(582) 评论(0) 推荐(0) 编辑