摘要: 我这里分功能是点击“复制范围”,就相当于复制图上的坐标点一样的数据和格式; “复制功能”的代码如下: copyPoints() { const vm = this; let pointsString = ''; vm.lnglatpoints.map(e=>{ //这里使用ES6的 ` 符号+换行符 阅读全文
posted @ 2020-08-24 13:56 糊涂蜗牛 阅读(6877) 评论(0) 推荐(0) 编辑
摘要: 一、显示部分(组件我使用的vuetify) <template> <v-container fluid> <v-card width="100%" max-width="100%" class="mb-5"> <div class="mb-2 d-flex align-center justify- 阅读全文
posted @ 2020-07-30 09:29 糊涂蜗牛 阅读(6853) 评论(0) 推荐(0) 编辑
摘要: 一、在vue-cli的框架下的main.js(或者main.ts)中引入高德插件,代码如下: import Vue from 'vue' import VueAMap from 'vue-amap' import ElementUI from 'element-ui' import App from 阅读全文
posted @ 2020-07-17 09:28 糊涂蜗牛 阅读(10458) 评论(4) 推荐(0) 编辑
摘要: 一、vue+elementUI实现 分页表格前的多选 多选效果图: 代码如下: <el-table ref="multipleTable" :data="listData" tooltip-effect="dark" :default-sort="{ prop: 'date', order: 'de 阅读全文
posted @ 2020-07-03 17:10 糊涂蜗牛 阅读(2843) 评论(0) 推荐(0) 编辑
摘要: 1、先按照官网的 :label-position 属性玩了一下毫无效果;发现单独使用这个属性是无效的,必须和 label-width 属性一起使用才生效; 如: <el-form :model="form" :rules="rules" ref="form" inline label-positio 阅读全文
posted @ 2020-06-22 17:19 糊涂蜗牛 阅读(9931) 评论(0) 推荐(0) 编辑
摘要: 一、为了方便重复利用管理,我创建一个regExp.ts文件来管理正则的表达式,内容如下: 1 /* eslint-disable */ 2 const phoneNumberRegExp = /^[1|9][3|4|5|6|7|8|9][0-9]\d{8}$/ 3 const passwordReg 阅读全文
posted @ 2020-06-16 13:02 糊涂蜗牛 阅读(611) 评论(0) 推荐(0) 编辑
摘要: 在utils文件夹中创建 wartermark.ts 文件(位置看自己的组件放那,这都行),内容如下: 1 "use strict"; 2 3 const setWatermark = (str: any) => { 4 const id = "1.23452384164.123412416"; 5 阅读全文
posted @ 2020-06-10 14:20 糊涂蜗牛 阅读(827) 评论(0) 推荐(0) 编辑
摘要: 如果是博客园,直接在设置-->页脚 HTML 代码,加上下面代码: 1 <!-- L2Dwidget.js L2D网页动画人物 --> 2 <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/ 阅读全文
posted @ 2020-06-03 11:08 糊涂蜗牛 阅读(817) 评论(0) 推荐(0) 编辑
摘要: 一、下载win10下安装docker和桌面管理的工具: 下载地址:Docker for Windows 安装软件学习地址:https://www.runoob.com/docker/docker-tutorial.html 下载完是一个安装程序,双击运行即可。cmd命令就可以开始使用docker安装 阅读全文
posted @ 2020-06-03 10:12 糊涂蜗牛 阅读(5681) 评论(0) 推荐(1) 编辑