上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 问题描述 一直报验证码错误,问题原因请求头没带sessionid 解决 打开chrome 输入 chrome://flags/ 搜索 SameSite by default cookies 找到SameSite by default cookies和Cookies without SameSite 阅读全文
posted @ 2021-01-26 13:50 米牙 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 1.加公共头部 export const BASEURL='/ftserver';//跨域配置 2. module.exports = { devServer: { port: 1188, // 端口号 host: getIPAdress(), https: false, // https:{typ 阅读全文
posted @ 2020-12-23 17:55 米牙 阅读(335) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>高德地图大批量数据 阅读全文
posted @ 2020-11-12 15:11 米牙 阅读(358) 评论(0) 推荐(0) 编辑
摘要: ####hex转rgb function hexToRgb (hex) { var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; hex = hex.replace(shorthandRegex, function (m, r, g, b) 阅读全文
posted @ 2020-11-04 10:50 米牙 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 1.npm install babel-plugin-transform-remove-console --save-dev 2.根目录加:babel.config.js const plugins = [] if (process.env.NODE_ENV 'production') { plug 阅读全文
posted @ 2020-10-30 17:32 米牙 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 效果图: 上代码: <!-- 重点:getRenderOptions --> <!doctype html> <html lang="zh-CN"> <head> <!-- 原始地址://webapi.amap.com/ui/1.0/ui/misc/PointSimplifier/examples/ 阅读全文
posted @ 2020-10-19 17:55 米牙 阅读(1344) 评论(0) 推荐(0) 编辑
摘要: #####html <div class="carousel_box "> <ul class="carousel" :class="{transition:hadTrans1}"> <li>11</li> <li>22</li> <li>11</li> </ul> </div> <p class= 阅读全文
posted @ 2020-09-24 15:06 米牙 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1.引入插件 "html2canvas": "^1.0.0-rc.7", "jspdf": "^2.0.0", 2.在src/components/utils/htmlToPdf // 导出页面为PDF格式 import html2Canvas from 'html2canvas' import J 阅读全文
posted @ 2020-08-25 14:13 米牙 阅读(1348) 评论(0) 推荐(0) 编辑
摘要: 效果图 安装依赖 "file-saver": "^2.0.2" "jszip": "^3.5.0", 实现页面代码 <template> <div class="home"> <!-- <button type="button" class="btn btn-primary" v-on:click= 阅读全文
posted @ 2020-08-25 13:55 米牙 阅读(939) 评论(0) 推荐(0) 编辑
摘要: 封装的组件 <template> <div ref="canvasHW"> <canvas ref="canvasF" @mousedown="mouseDown" @mousemove="mouseMove" @mouseup="mouseUp" > </canvas> <!-- <button 阅读全文
posted @ 2020-08-25 12:02 米牙 阅读(781) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页