摘要: 前端部署工具 前端部署工具 用electron写了一个通用的前端部署工具,支持SSH的理论上都可以使用该工具,使用nodejs实现模拟登陆以及上传文件到服务器并解压 链接: https://pan.baidu.com/s/1rGnAO4X_xfv90UecuAMFkA?pwd=2mte 提取码: 2mte 阅读全文
posted @ 2024-07-31 15:26 小万子呀 阅读(9) 评论(0) 推荐(0) 编辑
摘要: vue3批量将图片添加水印并导出压缩包 vue3批量将图片添加水印并导出压缩包 <script setup lang="ts"> import { ref, onMounted } from 'vue' import JSZip from 'jszip' const img_list = ref([ { img: 'https://img 阅读全文
posted @ 2024-03-29 16:48 小万子呀 阅读(103) 评论(1) 推荐(0) 编辑
摘要: Vue3+vite main.js 文件 app.config.compilerOptions.isCustomElement = (tag) => tag.startsWith('wx-open-launch-weapp'); // 防止vue变异报错 Page.vue <wx-open-laun 阅读全文
posted @ 2023-11-13 17:00 小万子呀 阅读(56) 评论(0) 推荐(0) 编辑
摘要: vue3使用高德地图进行多边形的绘制,编辑以及创建 npm i @amap/amap-jsapi-loader --save <!-- 高德地图 --> <template> <div style="display: flex;"> <div id="container" style="width: 800px; height: 500px; bor 阅读全文
posted @ 2023-10-17 14:34 小万子呀 阅读(1185) 评论(3) 推荐(0) 编辑
摘要: ```javascript // smoothUpward.ts const DURATION = 500; const animationMap = new WeakMap(); const observer = new IntersectionObserver((entries) => { fo 阅读全文
posted @ 2023-06-20 16:01 小万子呀 阅读(17) 评论(0) 推荐(0) 编辑
摘要: uniapp上拉加载下拉刷新 ```javascript {{ topTis }} A {{ loadOver ? (isScrolltolower ? '努力加载中....' : '上拉加载更多') : '人家是有底线的' }} ``` ![](https://img2023.cnblogs.com/blog/2668541/ 阅读全文
posted @ 2023-06-15 09:26 小万子呀 阅读(425) 评论(0) 推荐(0) 编辑
摘要: vue3 +leaflet + 天地图 ### vue3使用leaflet ```javascript npm install leaflet -D ``` ###### 如果使用了ts ```javascript npm i --save-dev @types/leaflet // 使用了ts需要下载声明类型 ``` ```javasc 阅读全文
posted @ 2023-05-20 14:43 小万子呀 阅读(947) 评论(0) 推荐(0) 编辑
摘要: 文件上传进度条 export function cloudrtkImport(data, idx, callback, signal) { return request({ url: "/***********", method: "POST", headers: { Authorization: 阅读全文
posted @ 2023-05-17 11:37 小万子呀 阅读(48) 评论(0) 推荐(0) 编辑
摘要: <template> <el-dialog title="批量下载" :visible.sync="isShow" width="1000" :before-close="handleClose"> <div class="downBox"> <div class="downTop"> <span> 阅读全文
posted @ 2023-03-28 16:52 小万子呀 阅读(64) 评论(0) 推荐(0) 编辑
摘要: <div> <canvas @mousemove="canvasMove" @mouseup="canvasUp" ref="canvas" width="1000" height="500" @mousedown="mousedown" @mouseleave="canvasLeave"></ca 阅读全文
posted @ 2023-02-24 12:42 小万子呀 阅读(564) 评论(0) 推荐(0) 编辑