摘要: vue读取Excel数据 import * as XLSX from "xlsx" npm install xlsx <input type="file" ref="excelFileInput" @change="handleFileInputChange" accept=".xlsx,.xls" 阅读全文
posted @ 2025-06-16 15:11 小万子呀 阅读(168) 评论(0) 推荐(0)
摘要: vue3在线预览word <!-- npm install docx-preview <template> <WordPreview docUrl="http://xxxxxxxx.docx" title="项目文档预览" loadingText="文档加载中,请稍候..." :previewOpt 阅读全文
posted @ 2025-05-28 09:41 小万子呀 阅读(693) 评论(1) 推荐(0)
摘要: vue3 打印实现自定义分页、页眉、页脚 <template> <div class="main_container publicBg"> <vxe-button @click="handlePrint">直接打印</vxe-button> <div ref="printContentRef"> <!-- 多个实现分页 --> <div c 阅读全文
posted @ 2025-03-27 13:38 小万子呀 阅读(511) 评论(0) 推荐(0)
摘要: 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 小万子呀 阅读(371) 评论(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 小万子呀 阅读(1845) 评论(0) 推荐(0)
摘要: 前端部署工具 前端部署工具 用electron写了一个通用的前端部署工具,支持SSH的理论上都可以使用该工具,使用nodejs实现模拟登陆以及上传文件到服务器并解压 链接: https://pan.baidu.com/s/1rGnAO4X_xfv90UecuAMFkA?pwd=2mte 提取码: 2mte 阅读全文
posted @ 2024-07-31 15:26 小万子呀 阅读(33) 评论(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 小万子呀 阅读(183) 评论(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 小万子呀 阅读(72) 评论(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 小万子呀 阅读(1806) 评论(3) 推荐(0)
摘要: ```javascript // smoothUpward.ts const DURATION = 500; const animationMap = new WeakMap(); const observer = new IntersectionObserver((entries) => { fo 阅读全文
posted @ 2023-06-20 16:01 小万子呀 阅读(24) 评论(0) 推荐(0)