Live2D
上一页 1 2 3 4 5 6 ··· 23 下一页
摘要: Echarts清除上次加载的数据只需要在setoptions中设置第二个参数为true即可。默认为false,即融合所有加载数据。 myChart.setOption(option, true) 简单记录,以后尽量都用true 转自 https://www.jianshu.com/p/b41261d 阅读全文
posted @ 2022-12-21 11:55 webmtjj 阅读(1190) 评论(0) 推荐(0)
摘要: js中setInterval有最大延迟时间限制 今天突然发现定时器发生了异常,原因是因为我把延迟时间设置的太大了 999999999*1000 定时器一直在执行 经过一翻排查之后原来定时器的延迟时间是有限制的,最大值为 2^31-1 (32位最大值),单位为ms。 阅读全文
posted @ 2022-12-06 15:24 webmtjj 阅读(312) 评论(0) 推荐(0)
摘要: /// <summary> /// 下载准考证 /// </summary> /// <param name="examPlanId"></param> /// <returns></returns>public ActionResult DownZKZ(int examPlanId) {var f 阅读全文
posted @ 2022-08-04 14:35 webmtjj 阅读(157) 评论(0) 推荐(0)
摘要: let image = new Image(); // 解决跨域 Canvas 污染问题 image.setAttribute("crossOrigin", "anonymous"); image.onload = function () { let canvas = document.create 阅读全文
posted @ 2022-06-22 17:39 webmtjj 阅读(659) 评论(0) 推荐(0)
摘要: 插入图片、文字到Word 以下是指定插入到段落内,所以每次需要移到指定的段落,每创建一个段落需要+1 黄色背景的分别是插入图片和文字 private string DownLoadStudyImg(List<Project> projects) { var projectIds = projects 阅读全文
posted @ 2022-06-14 15:17 webmtjj 阅读(2328) 评论(0) 推荐(0)
摘要: --创建不为空列 alter table 表名 add 列名 int not null default 0 go --删除字段 alter table 表名 drop column 列名 go --修改列名称 exec sp_rename '表名.列名','新名称' 字段设置默认值 alter ta 阅读全文
posted @ 2022-05-12 11:06 webmtjj 阅读(411) 评论(0) 推荐(0)
摘要: 游标嵌套 BEGIN TRANSACTION; --事务declare @resourceId int --节Id declare @newResourceId int --新的节Id declare @courseId int --课程Id declare @newCourseId int --新 阅读全文
posted @ 2022-05-09 21:36 webmtjj 阅读(731) 评论(0) 推荐(0)
摘要: //创建数组 var ids = []; ids .push(1); ids .push(2); ids .push(3); //向后台交互 $.ajax({ url: "/xxx", type: "POST", data: { "ids ": ids }, success: function(da 阅读全文
posted @ 2022-04-21 09:51 webmtjj 阅读(373) 评论(0) 推荐(0)
摘要: /// <summary> /// 加密 参数:string /// </summary> /// <param name="strCon">加密内容</param> /// <param name="key">密钥</param> /// <returns>string:密文</returns> 阅读全文
posted @ 2022-02-09 14:34 webmtjj 阅读(603) 评论(0) 推荐(0)
摘要: DateTime dt = DateTime.Now; //当前时间 DateTimestartWeek = dt.AddDays(1 -Convert.ToInt32(dt.DayOfWeek.ToString("d"))); //本周周一 DateTimeendWeek = startWeek. 阅读全文
posted @ 2021-09-03 10:37 webmtjj 阅读(735) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 23 下一页