05 2022 档案

摘要:向下取整:Math.floor() 向上取整:Math.ceil() 四舍五入:Math.round() 保留一位有效数字:num.toFixed(1) 保留一位: Math.round(19.0909 * 10)/10 阅读全文
posted @ 2022-05-30 23:19 小杨观世界 阅读(698) 评论(0) 推荐(0) 编辑
摘要:declare @TableName sysname = 'Emps' declare @Result varchar(max) = ' /// <summary> /// ' + @TableName + ' /// </summary> public class ' + @TableName + 阅读全文
posted @ 2022-05-25 09:00 小杨观世界 阅读(82) 评论(0) 推荐(0) 编辑
摘要:字符串加密|文档中心 |总部基地。断续器 (abp.io) 连接字符串 |文档中心 |总部基地。IO (abp.io) 看官网,两个组合,把配置文件里的连接语句、密钥进行加密,不明文保存 阅读全文
posted @ 2022-05-19 11:56 小杨观世界 阅读(494) 评论(0) 推荐(0) 编辑
摘要:记录。 滚动的时候去找dom,然后看top是否小于某一个高度(屏幕可用高度)为已读,进行标记。 <scroll-view scroll-y scroll-into-view="{{toItemView}}" bindscroll="scrolltoupper"> <view wx:for="{{10 阅读全文
posted @ 2022-05-16 14:17 小杨观世界 阅读(315) 评论(0) 推荐(0) 编辑
摘要:ABP 异常报错 An exception was thrown while activating Castle.Proxies.MaxNumberServiceProxy.Autofac.Core.DependencyResolutionException: An exception was th 阅读全文
posted @ 2022-05-12 09:49 小杨观世界 阅读(418) 评论(0) 推荐(0) 编辑
摘要:public class SYSDEA : Entity<string> { /// <summary> /// 无效Id /// </summary> [NotMapped] public override string Id => $"{DEA001}-{DEA002}"; /// <summa 阅读全文
posted @ 2022-05-12 00:19 小杨观世界 阅读(279) 评论(0) 推荐(0) 编辑
摘要:public class WKReport : Entity<string> [Required][DatabaseGenerated(DatabaseGeneratedOption.Identity)] //自增 public int ReportID { get; set; } } 阅读全文
posted @ 2022-05-11 23:23 小杨观世界 阅读(443) 评论(0) 推荐(0) 编辑
摘要:itemMonthMyClick(e) { //检查是否为双击事件 // let curTime = e.timeStamp; // let lastTime = this.lastTapDiffTime; // this.lastTapDiffTime = curTime; // //两次点击间隔 阅读全文
posted @ 2022-05-11 13:36 小杨观世界 阅读(446) 评论(0) 推荐(0) 编辑