1 2 3 4 5 ··· 31 下一页
摘要: /// <summary> /// 绘制图片验证码 /// </summary> /// <param name="webRootPath"></param> /// <param name="width"></param> /// <param name="height"></param> /// 阅读全文
posted @ 2024-08-28 17:58 流年sugar 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 背景: ASP.NET WebAPI项目 将页面cshtml填充到RenderBody()的方式来实现单页面应用 出现异常的情况: 通过定时器setInterval来实现定时对table 数据的填充(setInterval的特点是不管前一次是否执行,只要到时间了就会执行下一次) 关键代码 table 阅读全文
posted @ 2024-08-22 16:56 流年sugar 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 异常 异常提示是连接不上源 查看npm的镜像源,发现没有设置(可能使用nvm管理node,切换node时对应的npm 没有设置镜像源) 设置镜像 阅读全文
posted @ 2024-08-22 15:02 流年sugar 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 插入数据 insert into Department (Id,Name,ParentId) VALUES (1,'总经办',0), (2,'研发部',1), (3,'人事部',1), (4,'设计部',2), (5,'行政部',3) 查询意图: 查询某个部门下所有子部门包括本部门所在层级 WITH 阅读全文
posted @ 2024-08-19 17:51 流年sugar 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 使用draw()对页面重绘 initTable = $("#m_table_1").dataTable({ // language: lang, //提示信息 dom: "<'row'<'col-sm-12'tr>>\n\t\t\t<'row'<'col-sm-12 col-md-5'i><'col 阅读全文
posted @ 2024-08-16 17:03 流年sugar 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 可能原因:组件会缓存上次的上传历史,若是同一文件就不处理 具体原因:待查 解决方法:在choose里面增加如下语句“uploadListIns.config.elem.next()[0].value = '' ” var uploadListIns = upload.render({ elem: ' 阅读全文
posted @ 2024-08-13 17:05 流年sugar 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Jquery滚动条监听 const scrollContainer = document.getElementById('ticket-records'); scrollContainer.addEventListener('scroll', () => { if (scrollContainer. 阅读全文
posted @ 2024-08-01 18:37 流年sugar 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 异常: 原因: js代码中可能符号错误,如括号没有关闭、半角全角、 本次的原因是双引号没有关闭 阅读全文
posted @ 2024-07-22 17:00 流年sugar 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1.安装NuGet包 2.准备Nlog的配置文件 nlog.config <?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="htt 阅读全文
posted @ 2024-07-17 15:46 流年sugar 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1.安装NuGet包AutoMapper 2.建立示例Entity、Dto Entity public class User { public long Id { get; set; } /// <summary> /// 账号 /// </summary> public string UserNa 阅读全文
posted @ 2024-07-17 12:22 流年sugar 阅读(7) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 31 下一页