上一页 1 2 3 4 5 6 7 ··· 58 下一页
摘要: //这句要加,否则前端获取不到 "Content-Disposition" response.setHeader("Access-Control-Expose-Headers", "Content-Disposition"); response.setHeader("Content-Disposit 阅读全文
posted @ 2025-09-04 15:05 VipSoft 阅读(42) 评论(0) 推荐(0)
摘要: 注意:indeterminate = false ,表示没被选中,提交的时候没有值 <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=devic 阅读全文
posted @ 2025-09-04 13:58 VipSoft 阅读(12) 评论(0) 推荐(0)
摘要: 支持多语言 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>App 阅读全文
posted @ 2025-09-03 20:56 VipSoft 阅读(16) 评论(0) 推荐(0)
摘要: 文件“D:\XXX ”正由另一进程使用,因此该进程无法访问此文件。 File.Copy(sourceFileName, destFileName, true); 这个错误表明在尝试复制文件时,源文件正被另一个进程锁定/占用,导致无法访问。以下是可能的原因和解决方案: 可能原因 文件仍被上传进程占用: 阅读全文
posted @ 2025-09-03 07:20 VipSoft 阅读(266) 评论(0) 推荐(0)
摘要: 前端更新程序后,通知用户刷新UI 需要手动修改版本号 在 public 目录下 创建 version.json { "version": "1.0.0" } src\App.vue 文件中添加如下代码 <script setup lang="ts"> // 检查版本更新 const checkVer 阅读全文
posted @ 2025-09-01 08:33 VipSoft 阅读(118) 评论(0) 推荐(0)
摘要: 菜单权限 store\modules\permisstion.ts -> generateRoutes() 按钮权限 directive\permission\index.ts 路由权限 plugins\permission.ts permission.ts 修改如下 import type { N 阅读全文
posted @ 2025-08-28 09:50 VipSoft 阅读(18) 评论(0) 推荐(0)
摘要: <el-button size="small" link icon="Switch">更多</el-button> 修改后 <el-button type="primary" size="small" link> 更多 <el-icon class="el-icon--right"><DArrowR 阅读全文
posted @ 2025-08-27 15:07 VipSoft 阅读(63) 评论(0) 推荐(0)
摘要: Vue2 多环境配置:https://www.cnblogs.com/vipsoft/p/16696640.html 一般可以使用 Jenkins 对配置 .env.development、.env.production,不同的环境进行构建 在没有 CI/CD 的情况下。Vue 项目的打包变得繁琐。 阅读全文
posted @ 2025-08-26 16:39 VipSoft 阅读(50) 评论(0) 推荐(0)
摘要: Unknown series wordCloud 缺少引用: import "echarts-wordcloud"; https://ecomfe.github.io/echarts-wordcloud/ https://www.npmjs.com/package/echarts-wordcloud 阅读全文
posted @ 2025-08-26 14:12 VipSoft 阅读(69) 评论(0) 推荐(0)
摘要: 由于 wss://echo.websocket.org 不支持STOMP协议,改用原生WebSocket API 这个地址可以用来测试,wss://echo.websocket.org/ws 最终效果 代码如下: <template> <div class="app-container"> <el- 阅读全文
posted @ 2025-08-26 11:37 VipSoft 阅读(83) 评论(0) 推荐(0)
摘要: const { IsSuperAdmin } = useUserStore().userInfo; /** * 获取后台动态路由数据,解析并注册到全局路由 * * @returns Promise<RouteRecordRaw[]> 解析后的动态路由列表 */ function generateRo 阅读全文
posted @ 2025-08-26 10:00 VipSoft 阅读(213) 评论(0) 推荐(0)
摘要: 目录localStorage 与 useStorage 的区别localStorage(原生 API)useStorage(VueUse 工具函数)对比示例总结删除 userInfo 的 key 方法1. 使用 useStorage 的推荐方式2. 手动删除 localStorage 的 key3. 阅读全文
posted @ 2025-08-25 14:26 VipSoft 阅读(305) 评论(0) 推荐(1)
摘要: 菜单权限 store\modules\permisstion.ts -> generateRoutes() import { RouteRecordRaw } from "vue-router"; //privateRoutes 前端配置好的JS菜单,权限控制由前端控制,【后端省事】 import 阅读全文
posted @ 2025-08-22 17:21 VipSoft 阅读(41) 评论(0) 推荐(0)
摘要: 去服务器获取数据 getVisitStats() { return request<any, VisitStatsVO>({ url: `${LOG_BASE_URL}/visit-stats`, method: "get", }); }, 将 VisitStats.ts 中的 JSON 数据作为模 阅读全文
posted @ 2025-08-22 11:30 VipSoft 阅读(27) 评论(0) 推荐(0)
摘要: 目录Spring Boot 的配置加载顺序规则1. 格式优先级高于Profile2. 配置加载顺序配置方案参数形式使用配置文件(推荐,最清晰、最易维护)使用Shell脚本或Batch文件(Windows批处理)使用环境变量最佳实践建议 Spring Boot 的配置加载顺序规则 Spring Boo 阅读全文
posted @ 2025-08-22 10:12 VipSoft 阅读(491) 评论(2) 推荐(0)
摘要: function generateRoutes() { return new Promise<RouteRecordRaw[]>((resolve, reject) => { MenuAPI.getRoutes() .then((data) => { const dynamicRoutes = pa 阅读全文
posted @ 2025-08-21 16:16 VipSoft 阅读(74) 评论(0) 推荐(0)
摘要: 正常页面都是在框架内构建页面,如果不想希望有导航等元素,如何操作,思路,login 不就是这样的页面吗 添加页面 在 src\views 创建 datav/index.vue <template> <div id="app"> <el-link type="primary" :underline=" 阅读全文
posted @ 2025-08-21 14:18 VipSoft 阅读(23) 评论(0) 推荐(0)
摘要: 多个菜单点击的时候,中间主体部分,不能增加 tab,原因是因为子菜单没有增加 name , <script setup lang="ts"> defineOptions({ name: "CustodyOrder", //要和菜单中的 name 一致,这样才可以进行菜单缓存 inheritAttrs 阅读全文
posted @ 2025-08-21 10:33 VipSoft 阅读(13) 评论(0) 推荐(0)
摘要: FileStream和FileInfo只能处理本地文件路径,无法直接处理HTTP URL。以下是几种实现远程PDF返回给前端的解决方案: 方案1:使用HttpClient下载远程文件(推荐) [HttpGet] public async Task<HttpResponseMessage> GetRe 阅读全文
posted @ 2025-08-21 09:05 VipSoft 阅读(257) 评论(0) 推荐(0)
摘要: props.detailData 是父控件传的值,如何将 detailData 中的 custodyNo 赋值给 formData 中的 reason 父控件 <Detail v-model="detailVisible" :detailData="currentDetailData" /> 子控件 阅读全文
posted @ 2025-08-19 13:31 VipSoft 阅读(51) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 58 下一页