上一页 1 2 3 4 5 6 7 8 9 10 ··· 61 下一页
摘要: 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 阅读(117) 评论(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 阅读(195) 评论(0) 推荐(0)
摘要: const { IsSuperAdmin } = useUserStore().userInfo; /** * 获取后台动态路由数据,解析并注册到全局路由 * * @returns Promise<RouteRecordRaw[]> 解析后的动态路由列表 */ function generateRo 阅读全文
posted @ 2025-08-26 10:00 VipSoft 阅读(230) 评论(0) 推荐(0)
摘要: 目录localStorage 与 useStorage 的区别localStorage(原生 API)useStorage(VueUse 工具函数)对比示例总结删除 userInfo 的 key 方法1. 使用 useStorage 的推荐方式2. 手动删除 localStorage 的 key3. 阅读全文
posted @ 2025-08-25 14:26 VipSoft 阅读(356) 评论(0) 推荐(1)
摘要: 菜单权限 store\modules\permisstion.ts -> generateRoutes() import { RouteRecordRaw } from "vue-router"; //privateRoutes 前端配置好的JS菜单,权限控制由前端控制,【后端省事】 import 阅读全文
posted @ 2025-08-22 17:21 VipSoft 阅读(65) 评论(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 阅读(45) 评论(0) 推荐(0)
摘要: 目录Spring Boot 的配置加载顺序规则1. 格式优先级高于Profile2. 配置加载顺序配置方案参数形式使用配置文件(推荐,最清晰、最易维护)使用Shell脚本或Batch文件(Windows批处理)使用环境变量最佳实践建议 Spring Boot 的配置加载顺序规则 Spring Boo 阅读全文
posted @ 2025-08-22 10:12 VipSoft 阅读(698) 评论(2) 推荐(0)
摘要: function generateRoutes() { return new Promise<RouteRecordRaw[]>((resolve, reject) => { MenuAPI.getRoutes() .then((data) => { const dynamicRoutes = pa 阅读全文
posted @ 2025-08-21 16:16 VipSoft 阅读(132) 评论(0) 推荐(0)
摘要: 正常页面都是在框架内构建页面,如果不想希望有导航等元素,如何操作,思路,login 不就是这样的页面吗 添加页面 在 src\views 创建 datav/index.vue <template> <div id="app"> <el-link type="primary" :underline=" 阅读全文
posted @ 2025-08-21 14:18 VipSoft 阅读(42) 评论(0) 推荐(0)
摘要: 多个菜单点击的时候,中间主体部分,不能增加 tab,原因是因为子菜单没有增加 name , <script setup lang="ts"> defineOptions({ name: "CustodyOrder", //要和菜单中的 name 一致,这样才可以进行菜单缓存 inheritAttrs 阅读全文
posted @ 2025-08-21 10:33 VipSoft 阅读(35) 评论(0) 推荐(0)
摘要: FileStream和FileInfo只能处理本地文件路径,无法直接处理HTTP URL。以下是几种实现远程PDF返回给前端的解决方案: 方案1:使用HttpClient下载远程文件(推荐) [HttpGet] public async Task<HttpResponseMessage> GetRe 阅读全文
posted @ 2025-08-21 09:05 VipSoft 阅读(381) 评论(0) 推荐(0)
摘要: props.detailData 是父控件传的值,如何将 detailData 中的 custodyNo 赋值给 formData 中的 reason 父控件 <Detail v-model="detailVisible" :detailData="currentDetailData" /> 子控件 阅读全文
posted @ 2025-08-19 13:31 VipSoft 阅读(99) 评论(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 阅读(67) 评论(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 阅读(2033) 评论(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 阅读(146) 评论(0) 推荐(0)
摘要: Vue 命名规范指南 良好的命名规范可以提高代码的可读性和可维护性。以下是 Vue 项目中推荐的命名规范: 1. 组件命名 单文件组件 (SFC) 除index外,使用PascalBase风格 PascalCase (大驼峰式):MyComponent.vue 多单词命名:避免与 HTML 元素冲突 阅读全文
posted @ 2025-08-13 17:45 VipSoft 阅读(378) 评论(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 阅读(300) 评论(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 阅读(93) 评论(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 阅读(61) 评论(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 阅读(129) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 61 下一页