上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: 1、查看当前npm镜像源 npm config get registry 2、切换npm镜像源到淘宝 npm config set registry https://registry.npmmirror.com/ 阅读全文
posted @ 2025-01-20 10:10 ziff123 阅读(83) 评论(0) 推荐(0)
摘要: 问题: CefSharp.WinForms指定了低版本108.4.130 生成的libcef.dll版本却是121.3.7.0, 分析: 之前有指定版本121.3.7.0并生成过。怀疑用的是之前的版本,然后之前的版本的缓存在本地的哪个位置。于是删除项目底下 packages\CefSharp.Win 阅读全文
posted @ 2025-01-10 09:33 ziff123 阅读(136) 评论(0) 推荐(0)
摘要: function mergeUnique(arr1, arr2) { return [...new Set([...arr1, ...arr2])]; } // 示例使用 const array1 = [1, 2, 3]; const array2 = [2, 3, 4]; const merged 阅读全文
posted @ 2025-01-02 09:37 ziff123 阅读(385) 评论(0) 推荐(0)
摘要: 数据库只存时间,不存日期,ORM框架SqlSugar应该怎么定义字段 在SqlSugar中,对应数据库的TIME类型,可以使用TimeSpan类型来表示时间。SqlSugar会在执行数据库操作时,自动处理TimeSpan与数据库的TIME类型之间的转换。 以下是一个简单的示例,演示如何在实体类中使用 阅读全文
posted @ 2024-12-26 13:56 ziff123 阅读(249) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-12-22 11:13 ziff123 阅读(11) 评论(0) 推荐(0)
摘要: 1、先安装配置ffmpeg、参考:https://blog.csdn.net/weixin_58520733/article/details/120468420 2、将mp4视频切成m3u8 ffmpeg -i d:\video\3\1.mp4 -c:v libx264 -c:a aac -stri 阅读全文
posted @ 2024-12-13 14:46 ziff123 阅读(1123) 评论(0) 推荐(0)
摘要: 1、安装 npm install amfe-flexible --save npm install postcss-pxtorem@5.0 --save 我的环境是vue2.0 postcss-pxtorem要指定5.0版本要不然会报错!!!2、配置postcss-pxtorem 配置postcss 阅读全文
posted @ 2024-12-10 09:53 ziff123 阅读(325) 评论(0) 推荐(0)
摘要: 1、安装NPOI 2.7.2 2、工具类DataTableTool.cs,将list 转成DataTable using System.Collections; using System.Data; using System.Reflection; namespace Common.Helper { 阅读全文
posted @ 2024-12-09 09:32 ziff123 阅读(279) 评论(0) 推荐(0)
摘要: using System.Collections; using System.Reflection; using System.Reflection.Emit; using Microsoft.Extensions.Caching.Memory; namespace Blog.Core.Common 阅读全文
posted @ 2024-12-03 10:33 ziff123 阅读(31) 评论(0) 推荐(0)
摘要: 小程序请求只带一个ID参数的接口: 第一种: 接口定义: [HttpGet("{id}")]public async Task<MessageModel<BusinessViewModels>> GetById(long id) 小程序请求: await instance.delete('/api/ 阅读全文
posted @ 2024-12-02 16:07 ziff123 阅读(34) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页