随笔分类 -  前端学习

摘要:vue加载第三方图标库(转载)https://www.cnblogs.com/xifengxiaoma/p/9586046.html 阅读全文
posted @ 2024-06-21 17:14 一两米 阅读(6) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://blog.csdn.net/qq_41089622/article/details/128417627 阅读全文
posted @ 2024-06-21 08:20 一两米 阅读(138) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/08f92be02b1d 阅读全文
posted @ 2023-05-19 10:21 一两米 阅读(29) 评论(0) 推荐(0) 编辑
摘要:如果目标仓库为空,切换到空文件夹,然后: git clone --bare https://your-source-repo/repo.git git push --mirror https://your-destination-repo/repo.git 另外,转载一篇相同的解决方案:https: 阅读全文
posted @ 2023-03-10 16:42 一两米 阅读(170) 评论(0) 推荐(0) 编辑
摘要:<el-tooltip class="item" effect="dark" content="删除图斑" placement="bottom" > <el-popconfirm :key="scope.row.index" title="确定删除该图斑吗?" :popper-append-to-b 阅读全文
posted @ 2023-03-01 15:32 一两米 阅读(251) 评论(0) 推荐(0) 编辑
摘要:第一步:设置所有切片图层服务的source对象,添加属性 crossOrigin: "anonymous", //允许跨域 第二步:设置html2canvas配置项: 最后,附上html2canvas相关方法代码 // 调用 let mapImg = await this.toImage('map' 阅读全文
posted @ 2023-02-22 15:19 一两米 阅读(524) 评论(0) 推荐(0) 编辑
摘要:<template> <div ref="mouseDiv" style="background-color:transparent;width: 100%;height: 100%;position: absolute;top:0;left: 0;z-index: 2023;" > <div cl 阅读全文
posted @ 2023-02-10 08:23 一两米 阅读(338) 评论(0) 推荐(0) 编辑
摘要:请求体: export function addFavorites(geometry, name,samples, formdata) { return Service({ url: "/protect/sampleCollect/addOne", method: "post", headers: 阅读全文
posted @ 2022-12-14 11:43 一两米 阅读(90) 评论(0) 推荐(0) 编辑
摘要:1、定义variables.scss文件 // base color blue:#324157;light-blue:#3A71A8; red:#C03639;pink: #E65D6E; green: #30B08F;tiffany: #4AB7BD; $yellow:#FEC1 阅读全文
posted @ 2022-12-08 15:09 一两米 阅读(2280) 评论(0) 推荐(0) 编辑
摘要:需要修改遮罩层的定位,使用绝对定位,设置遮罩层的大小,注意样式修改需要是全局样式,不能用scoped <style lang="scss"> .el-image-viewer__wrapper { position: absolute!important; top: 70px!important; 阅读全文
posted @ 2022-08-31 16:11 一两米 阅读(1295) 评论(0) 推荐(0) 编辑
摘要:问题一:遮罩覆盖住了对话框 设置 modal-append-to-body 或者 append-to-body 属性为false <el-dialog title="新增对话框" width="80%" :modal-append-to-body='false' :append-to-body="f 阅读全文
posted @ 2022-08-31 16:05 一两米 阅读(2155) 评论(0) 推荐(0) 编辑
摘要:<template> <div> <div v-if="imgList.length > 0"> <el-carousel height="120px"> <el-carousel-item v-for="(item,index1) in imgList" :key="index1" :autopl 阅读全文
posted @ 2022-07-25 12:24 一两米 阅读(467) 评论(0) 推荐(1) 编辑
摘要:第一步,安装v-viewer npm install v-viewer --save 第二步,在main.js中配置全局变量: import Viewer from 'v-viewer' import 'viewerjs/dist/viewer.css' Vue.use(Viewer) Viewer 阅读全文
posted @ 2022-02-23 11:55 一两米 阅读(584) 评论(0) 推荐(0) 编辑
摘要:效果如下图所示: 全部代码如下: <template> <table class="mailTable"> <tr v-for="(item, key) in dataList[0]"> <td class="column">{{key}}</td> <td>{{item}}</td> </tr> 阅读全文
posted @ 2022-02-23 08:23 一两米 阅读(27) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示