摘要: Vue3 VueFlow index.vue <template> <VueFlow @pane-ready="onPaneReady" :nodes="nodes" :edges="edges" :default-viewport="{ zoom: 1 }" :nodes-draggable="t 阅读全文
posted @ 2025-01-04 10:28 小万子呀 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Vue3甘特图 - dhtmlx-gantt Vue3甘特图 <template> <div style="height:100%; background-color: white"> <div id="gantt_here" style="width:100%; height:100%;"></div> </div> </template> 阅读全文
posted @ 2024-12-28 15:02 小万子呀 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 前端部署工具 前端部署工具 用electron写了一个通用的前端部署工具,支持SSH的理论上都可以使用该工具,使用nodejs实现模拟登陆以及上传文件到服务器并解压 链接: https://pan.baidu.com/s/1rGnAO4X_xfv90UecuAMFkA?pwd=2mte 提取码: 2mte 阅读全文
posted @ 2024-07-31 15:26 小万子呀 阅读(21) 评论(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 小万子呀 阅读(137) 评论(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 小万子呀 阅读(59) 评论(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 小万子呀 阅读(1464) 评论(3) 推荐(0) 编辑
摘要: ```javascript // smoothUpward.ts const DURATION = 500; const animationMap = new WeakMap(); const observer = new IntersectionObserver((entries) => { fo 阅读全文
posted @ 2023-06-20 16:01 小万子呀 阅读(20) 评论(0) 推荐(0) 编辑
摘要: uniapp上拉加载下拉刷新 ```javascript {{ topTis }} A {{ loadOver ? (isScrolltolower ? '努力加载中....' : '上拉加载更多') : '人家是有底线的' }} ``` ![](https://img2023.cnblogs.com/blog/2668541/ 阅读全文
posted @ 2023-06-15 09:26 小万子呀 阅读(439) 评论(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 小万子呀 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: 文件上传进度条 export function cloudrtkImport(data, idx, callback, signal) { return request({ url: "/***********", method: "POST", headers: { Authorization: 阅读全文
posted @ 2023-05-17 11:37 小万子呀 阅读(49) 评论(0) 推荐(0) 编辑