会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fight139
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
28
下一页
2025年5月28日
vitejs 浏览器兼容问题
摘要: 样式 target: ["chrome89", "edge89", "firefox89", "safari15"], 这行不要加,否则出现老浏览器样式问题 vite-plugin-top-level-await 也会导致css升级 解决方案:重新加载Element-plus的css <link r
阅读全文
posted @ 2025-05-28 16:58 fight139
阅读(31)
评论(0)
推荐(0)
2025年5月24日
EasyExcel
摘要: 颜色枚举
阅读全文
posted @ 2025-05-24 19:31 fight139
阅读(12)
评论(0)
推荐(0)
2025年5月23日
Java开发安全
摘要: 动态拼接SQL 不安全
阅读全文
posted @ 2025-05-23 15:06 fight139
阅读(15)
评论(0)
推荐(0)
2025年5月21日
Chrome109版本跨域问题
摘要: 安装Chrome108浏览器 打印助手 将Release压缩包解压到D:/jh目录,双击运行打印助手,并发送到桌面快捷方式 解决本地打印机跨域问题 在D盘,新建jh目录,在jh目录下创建chromeDataDir目录 右击浏览器属性,目标后面增加 参数: --disable-web-security
阅读全文
posted @ 2025-05-21 18:28 fight139
阅读(53)
评论(0)
推荐(0)
2025年5月17日
oracle批量更新优化
摘要: 使用union update IL_FREIGHT_STOCK t1 set DETAIL_PROD_CODE= ( select t2.detail_prod_code from ( <foreach collection="list" open="(" close=")" separator="
阅读全文
posted @ 2025-05-17 14:19 fight139
阅读(21)
评论(0)
推荐(0)
2025年5月12日
arthas
摘要: 安装 curl -O https://arthas.aliyun.com/arthas-boot.jar java -jar arthas-boot.jar 监听 trace com.jhict.sale.sb.core.OffsiteInventoryCustomerStoreService do
阅读全文
posted @ 2025-05-12 23:18 fight139
阅读(19)
评论(0)
推荐(0)
2025年5月11日
excel常用公式
摘要: 转为小驼峰 =LOWER(LEFT(SUBSTITUTE(PROPER(SUBSTITUTE(LOWER(A2),"_"," "))," ",""),1))&MID(SUBSTITUTE(PROPER(SUBSTITUTE(LOWER(A2),"_"," "))," ",""),2,LEN(A2))
阅读全文
posted @ 2025-05-11 22:10 fight139
阅读(17)
评论(0)
推荐(0)
mybatis plus查询更新查询值不是最新问题
摘要: 场景 SoOrderDtl orderDtl = getById(); String transType = orderDtl.getTransType(); // 更新 lambdaUpdate().eq(SoOrderDtl::getOrderNo, orderNo).in(SoOrderDtl
阅读全文
posted @ 2025-05-11 13:32 fight139
阅读(42)
评论(0)
推荐(0)
2025年4月25日
阿米洛键盘
摘要: 按住Fn键,再按Esc+Win 恢复出厂设置 win锁定 同时按住Fn+win一秒或者3秒
阅读全文
posted @ 2025-04-25 09:32 fight139
阅读(104)
评论(0)
推荐(0)
2025年4月11日
vite hmr
摘要: 状态保存 const initHmr = function(app: App) { const env = getEnv(); if (env.env !== "dev") { return; } app.mixin({ created() { if (import.meta.hot) { cons
阅读全文
posted @ 2025-04-11 15:17 fight139
阅读(14)
评论(0)
推荐(0)
2025年4月10日
mybatis plus拦截器应用-增加汇总行
摘要: 代码 package com.jhict.common.data.interceptor; import com.jhict.common.core.util.StringUtil; import com.jhict.common.data.annotation.SqlLogAnnotation;
阅读全文
posted @ 2025-04-10 19:21 fight139
阅读(10)
评论(0)
推荐(0)
2025年2月12日
替换vue中template部分的代码
摘要: nodejs import * as fs from "node:fs"; const convertFileCode = function (path) { if (!path.endsWith(".vue")) { return; } const res = fs.readFileSync(pa
阅读全文
posted @ 2025-02-12 10:07 fight139
阅读(19)
评论(0)
推荐(0)
2025年1月17日
vue性能优化
摘要: 异步组件 <template> <Suspense v-if="!routerLoading"> <template #default> <AsyncComp /> </template> <template #fallback> <div class="loading-container"> <d
阅读全文
posted @ 2025-01-17 10:23 fight139
阅读(18)
评论(0)
推荐(0)
2025年1月13日
dataGrip
摘要: 开启dbms日志 双击Shift Action 搜索:dbms 执行计划
阅读全文
posted @ 2025-01-13 19:48 fight139
阅读(28)
评论(0)
推荐(0)
2024年12月19日
vite
摘要: reload优化 预构建 optimizeDeps: { exclude: ["@jhlc/utils", "@jhlc/types", "pdfjs-dist", "echarts", "dayjs"] }, 生产环境去掉console log和debugger esbuild: { drop:
阅读全文
posted @ 2024-12-19 09:06 fight139
阅读(15)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
28
下一页