dandanyajin
今天更新博客了吗?
上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 一 , v-for中,循环展示图标(拼接) <div v-for='(item,index) in list' :key='index'> <span :class=" 'iconfont ' + item.ico "></span> <p :class={'slider-change':ischa 阅读全文
posted @ 2020-08-27 16:55 dandanyajin 阅读(1660) 评论(1) 推荐(0) 编辑
摘要: 情况一:前端写表格 代码: <template> <el-table-column header-align="center" align="center" label="单据编号" prop="statementBaseNo"> <template slot-scope="scope"> <el- 阅读全文
posted @ 2020-08-24 09:05 dandanyajin 阅读(1458) 评论(0) 推荐(0) 编辑
摘要: 1,在@/components文件夹下新建组件文件夹openCar-import-excel 新建组件文件夹openCar-import-excel下新建 文件夹src 和 index.js 文件夹src下新建vue文件 2,index.js中的代码 import openCarImportExce 阅读全文
posted @ 2020-08-21 17:42 dandanyajin 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 代码://导出excelexportExcel() { let data = qs.stringify(this.formExtend.forms) // 搜索条件 var url = "http://" + window.location.host + "/bill/registingRecord 阅读全文
posted @ 2020-08-21 14:36 dandanyajin 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 客户测试项目,在录入好几页的数据后,浏览器直接崩溃。后发现在录入数据是内存迅速增长。 可能原因: 前台数据缓存太多导致。检查代码,发现下拉缓存数据太多(一个下拉700多条数据) 处理思路: 把下拉做成分页形式,每展示一页数据都向后台请求 代码: <el-form-item prop="g 阅读全文
posted @ 2020-08-10 10:45 dandanyajin 阅读(926) 评论(0) 推荐(0) 编辑
摘要: 1、进入“百度地图开放平台”->“开发文档”->进入自己所需要的模块->“开发指南”->“获取秘钥” 2、下载 vue-baidu-map 详情在下面的链接里 https://dafrok.github.io/vue-baidu-map/#/zh/index 阅读全文
posted @ 2020-05-20 13:52 dandanyajin 阅读(5811) 评论(0) 推荐(0) 编辑
摘要: 主体: <div id="div1">00:00:00</div> <div id="div2"> <button id="start">开始</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <button id="stop">停止</button><br> 阅读全文
posted @ 2019-11-25 16:40 dandanyajin 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 前提: html,body{height: 100%;} body{ display: flex; flex-direction: column;}(??一直不明白为什么) 主体: section { overflow: auto; } .why { display: flex; } .conl { 阅读全文
posted @ 2019-11-07 09:27 dandanyajin 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 一,关于小定位 方法一:右边小定位用 position: absolute;+位置 定位在固定位置 方法二:左边导航用 flex: 1; overflow: auto; 二,关于导航 方法一: overflow-x: auto; white-space: nowrap; 方法二:用弹性盒子 disp 阅读全文
posted @ 2019-11-05 20:18 dandanyajin 阅读(225) 评论(0) 推荐(0) 编辑
摘要: for(var i = 100 ; i <= 200 ; i++){ var flag = true; //制定口令 for( var k = 2 ; k < i ; k++ ){ if( i % k == 0 ){ flag = false; break; } } if(flag){ //如果口令 阅读全文
posted @ 2019-08-28 22:01 dandanyajin 阅读(1041) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页