上一页 1 2 3 4 5 6 ··· 57 下一页
摘要: 菜单权限 store\modules\permisstion.ts -> generateRoutes() import { RouteRecordRaw } from "vue-router"; //privateRoutes 前端配置好的JS菜单,权限控制由前端控制,【后端省事】 import 阅读全文
posted @ 2025-08-22 17:21 VipSoft 阅读(26) 评论(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 阅读(21) 评论(0) 推荐(0)
摘要: 目录Spring Boot 的配置加载顺序规则1. 格式优先级高于Profile2. 配置加载顺序配置方案参数形式使用配置文件(推荐,最清晰、最易维护)使用Shell脚本或Batch文件(Windows批处理)使用环境变量最佳实践建议 Spring Boot 的配置加载顺序规则 Spring Boo 阅读全文
posted @ 2025-08-22 10:12 VipSoft 阅读(370) 评论(2) 推荐(0)
摘要: function generateRoutes() { return new Promise<RouteRecordRaw[]>((resolve, reject) => { MenuAPI.getRoutes() .then((data) => { const dynamicRoutes = pa 阅读全文
posted @ 2025-08-21 16:16 VipSoft 阅读(46) 评论(0) 推荐(0)
摘要: 正常页面都是在框架内构建页面,如果不想希望有导航等元素,如何操作,思路,login 不就是这样的页面吗 添加页面 在 src\views 创建 datav/index.vue <template> <div id="app"> <el-link type="primary" :underline=" 阅读全文
posted @ 2025-08-21 14:18 VipSoft 阅读(12) 评论(0) 推荐(0)
摘要: 多个菜单点击的时候,中间主体部分,不能增加 tab,原因是因为子菜单没有增加 name , <script setup lang="ts"> defineOptions({ name: "CustodyOrder", //要和菜单中的 name 一致,这样才可以进行菜单缓存 inheritAttrs 阅读全文
posted @ 2025-08-21 10:33 VipSoft 阅读(8) 评论(0) 推荐(0)
摘要: FileStream和FileInfo只能处理本地文件路径,无法直接处理HTTP URL。以下是几种实现远程PDF返回给前端的解决方案: 方案1:使用HttpClient下载远程文件(推荐) [HttpGet] public async Task<HttpResponseMessage> GetRe 阅读全文
posted @ 2025-08-21 09:05 VipSoft 阅读(99) 评论(0) 推荐(0)
摘要: props.detailData 是父控件传的值,如何将 detailData 中的 custodyNo 赋值给 formData 中的 reason 父控件 <Detail v-model="detailVisible" :detailData="currentDetailData" /> 子控件 阅读全文
posted @ 2025-08-19 13:31 VipSoft 阅读(29) 评论(0) 推荐(0)
摘要: 查询重置按钮,不生效 必须有 prop="keywords" 属性,否则不生效 <el-form-item label="关键字" prop="keywords"> <div class="search-bar"> <el-form ref="queryFormRef" :model="queryP 阅读全文
posted @ 2025-08-18 17:40 VipSoft 阅读(24) 评论(0) 推荐(0)
摘要: PDFJS.getDocument TypeError: Cannot read from private field @2.11.338 pnpm install pdfjs-dist@2.14.305 --save 阅读全文
posted @ 2025-08-15 14:38 VipSoft 阅读(640) 评论(0) 推荐(0)
摘要: index.vue <template> <div class="app-container"> <el-card shadow="never"> <el-table v-loading="loading" :data="pageData" highlight-current-row border> 阅读全文
posted @ 2025-08-15 10:17 VipSoft 阅读(81) 评论(0) 推荐(0)
摘要: Vue 命名规范指南 良好的命名规范可以提高代码的可读性和可维护性。以下是 Vue 项目中推荐的命名规范: 1. 组件命名 单文件组件 (SFC) 除index外,使用PascalBase风格 PascalCase (大驼峰式):MyComponent.vue 多单词命名:避免与 HTML 元素冲突 阅读全文
posted @ 2025-08-13 17:45 VipSoft 阅读(76) 评论(0) 推荐(0)
摘要: UPDATE member_info SET dept_id=(SELECT dept_id FROM sys_user WHERE SYS_USER.ID=member_info.user_id) , dept_name=(SELECT dept_name FROM sys_user WHERE 阅读全文
posted @ 2025-08-12 09:17 VipSoft 阅读(40) 评论(0) 推荐(0)
摘要: app.ts:106 Uncaught ReferenceError: Cannot access 'store' before initialization at useAppStoreHook (app.ts:106:22) at index.ts:8:18 如你的代码中已经做的 () => i 阅读全文
posted @ 2025-08-11 14:58 VipSoft 阅读(34) 评论(0) 推荐(0)
摘要: Error: Cannot find module 'D:\Projects\01.SourceCode\Web\trunk\Admin-v3\node_modules\vite\bin\vite.js' at Function._resolveFilename (node:internal/mod 阅读全文
posted @ 2025-08-07 11:33 VipSoft 阅读(14) 评论(0) 推荐(0)
摘要: 下载的源码,需要 git init 删除node_modules和package-lock.json 执行了一下pnpm store prune ①删除node_modules和package-lock.json这俩文件(package-lock.json是我用npm install时产生的,之后使 阅读全文
posted @ 2025-08-07 09:20 VipSoft 阅读(32) 评论(0) 推荐(0)
摘要: <el-form-item label="状态"> <el-select v-model="searchFormState.Status" style="width: 100px" class="filter-item" placeholder="请选择" > <el-option v-for="( 阅读全文
posted @ 2025-08-05 10:48 VipSoft 阅读(15) 评论(0) 推荐(0)
摘要: 在 .NET Core 中,StaticFileMiddleware 处理静态文件时,对于不带扩展名的文件(如 apple-app-site-association)需要特殊配置。你遇到的问题是因为: . 作为键值不匹配无扩展名文件 - 你配置的 {".","application/json"} 实 阅读全文
posted @ 2025-07-29 13:49 VipSoft 阅读(55) 评论(0) 推荐(0)
摘要: 使用OSS默认域名或传输加速域名访问某个时间点创建的Bucket内的特定类型文件时(例如Content-Type为text/html、image/jpeg等),OSS会强制在返回头中增加下载Header(x-oss-force-download: true和Content-Disposition: 阅读全文
posted @ 2025-07-29 11:43 VipSoft 阅读(152) 评论(0) 推荐(0)
摘要: # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (malloc) failed to allocate 2476656 bytes fo 阅读全文
posted @ 2025-07-18 12:20 VipSoft 阅读(67) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 57 下一页