上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
摘要: vant环形进度条中间黑色填充,原因:我原来是全局安装的 # Vue 2 项目,安装 Vant 2.x 版本: npm i vant -S main.js里面我是这样写的 import { Circle } from 'vant' Vue.use(Circle) 然后就出现了圆环中间是黑色的这种情况 阅读全文
posted @ 2020-11-25 13:48 sinceForever 阅读(783) 评论(0) 推荐(0) 编辑
摘要: graphic: { elements: [ { type: 'image', style: { image: "https://csdnimg.cn/release/blogv2/dist/pc/img/original.png", width: 85, height: 80 }, left: ' 阅读全文
posted @ 2020-11-25 12:06 sinceForever 阅读(2355) 评论(0) 推荐(0) 编辑
摘要: 具体操作 我现在在feature-faultFlow分支上,想删除feature-faultFlow分支 1 先切换到别的分支: git checkout develop 2 删除本地分支: git branch -d feature-faultFlow 3 如果删除不了可以强制删除, git br 阅读全文
posted @ 2020-10-28 15:24 sinceForever 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 原文章参考:https://www.cnblogs.com/badaoliumangqizhi/p/13469773.html 原来的代码是这样的(上图) 现在需要做成多选,正常情况下就是加上multiple属性, 但是我这边加上之后,这个组件变成无法编辑状态了,后来查询得知需要再加上@change 阅读全文
posted @ 2020-10-20 13:45 sinceForever 阅读(884) 评论(0) 推荐(0) 编辑
摘要: 1,本地分支(没有推送到远程的) git branch -m oldName newName 2,已近推送过的分支(本地和远程都有改分支) a:重命名本地分支名(远程分支对应的本地分支名) git branch -m oldName newName b: 删除远程分支 git push --dele 阅读全文
posted @ 2020-10-15 10:42 sinceForever 阅读(265) 评论(0) 推荐(0) 编辑
摘要: infoDownload(params){ let url = `${BaseUrls.infoDownload}?${translateParam(params)}` downloadExecl(url) }, // 导出execl文件 export function downloadExecl( 阅读全文
posted @ 2020-09-28 11:19 sinceForever 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1,npm安装html2Canvas,JsPDF npm install html2canvas npm install jspdf 2,新建工具类htmlToPdf.js // 导出页面为PDF格式 import html2Canvas from 'html2canvas' import JsPD 阅读全文
posted @ 2020-09-18 15:56 sinceForever 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 1,html <img :src="imgUrl" alt="二维码图片"> <span @click="downloadImg()"></span> 2,data中 // 引入图片 import codeIMG from '@/assets/code.jpg'; data(){ return { 阅读全文
posted @ 2020-09-16 14:11 sinceForever 阅读(2056) 评论(0) 推荐(0) 编辑
摘要: copyText(text) { var textarea = document.createElement("input"); //创建input对象 var currentFocus = document.activeElement; //当前获得焦点的元素 document.body.appe 阅读全文
posted @ 2020-08-17 17:56 sinceForever 阅读(569) 评论(0) 推荐(0) 编辑
摘要: copyText(text) { var textarea = document.createElement("input"); //创建input对象 var currentFocus = document.activeElement; //当前获得焦点的元素 document.body.appe 阅读全文
posted @ 2020-08-17 17:36 sinceForever 阅读(260) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页