Jiang's Tech Journal

Jiang's Tech Journal

最新文章

集成nest-winston日志模块

https://github.com/gremo/nest-winston npm install --save nest-winston winston //main.ts import { NestFactory } from '@nestjs/core'; import { AppModule
92
2024-09-23

关于小程序PC版本上传文件的问题

现在有一个需求,要在PC微信上打开小程序,然后在小程序里面上传文件。 选择文件第一步需要拉起文件选择器选择文件,wx.chooseMessageFile 再PC小程序上会报错。 解决方案: 用web-view打开一个html文件,然后html里面让用户选择文件进行上传。 <div class="f-
75
2024-09-21
8 个解决移动端1px 边框困境的方案

8 个解决移动端1px 边框困境的方案

https://mp.weixin.qq.com/s/Pe3DdMw0qpIFZsctaTxSUg
Vue
80
2024-09-16
[转] 关于前端稳定性建设的系统性思考

[转] 关于前端稳定性建设的系统性思考

【说明】全文约 15000 字,阅读需要约 30 分钟。是关于前端稳定性建设的系统性思考,从可观测体系、全链路监控、高可用架构、性能管理、风险治理、流程机制、工程建设等 7 个方面做了详细的表述。 随着前端技术的不断发展和前端应用工程的日益复杂化,前端系统的稳定性已经成为一个不容忽视的话题。 从技术
32
2024-09-16

使用 sourcemap 定位生产环境问题

如何生成sourcemap //webpack devtool: "hidden-source-map", //vite //https://cn.vitejs.dev/config/build-options#build-sourcemap build: { sourcemap: 'hidde
Vue
57
2024-09-14

[ServerBox] 手机上的服务器管理工具

Flutter Server Box https://github.com/lollipopkit/flutter_server_box 使用 Flutter 开发的 Linux 服务器工具箱,提供服务器状态图表和管理工具。 特别感谢 dartssh2 & xterm.dart。 🏙️ 截屏
531
2024-09-14
通用JS方法封装处理

通用JS方法封装处理

日期格式化 export function parseTime(time, pattern) { if (arguments.length === 0 || !time) { return null } const format = pattern || '{y}-{m}-{d}
56
2024-09-13