上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 122 下一页
摘要: async handleDelete() { let folderFilesIds = [1, 2] this.$confirm('此操作将永久删除文件, 是否继续?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: ' 阅读全文
posted @ 2022-06-05 13:50 与f 阅读(1707) 评论(0) 推荐(0)
摘要: C#中几种数据格式保存xls(DataTable 和List<JObject> 保存xls) 1.DataTable 保存xls /// <summary> /// Datable导出成Excel,自定义字段 (NPOI组件) /// </summary> /// <param name="dt"> 阅读全文
posted @ 2022-05-30 21:40 与f 阅读(1483) 评论(0) 推荐(0)
摘要: C# winfrm程序的主入口捕获项目的全部异常 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System. 阅读全文
posted @ 2022-05-30 08:38 与f 阅读(64) 评论(0) 推荐(0)
摘要: 最近做winform收银机,设计顾显及打印小票总结。 1、顾显(串口COM1) 只涉及到总计,所以只是简单的功能。 public static ClientDisplayResult Display(decimal total, bool isClear=false) { var result = 阅读全文
posted @ 2022-05-24 15:14 与f 阅读(302) 评论(0) 推荐(0)
摘要: 使用事务之前,先确保数据库的存储引擎支持事务操作。 MyISAM:不支持事务,主要用于读数据提高性能 InnoDB:支持事务、行级锁和并发 Berkeley DB:支持事务 ThinkPHP5 使用事务有 3 个常用方法: $model->startTrans(); // 开启事务 $model-> 阅读全文
posted @ 2022-05-18 16:56 与f 阅读(372) 评论(0) 推荐(0)
摘要: 我们可以通过使用DataTime这个类来获取当前的时间。 通过调用类中的各种方法我们可以获取不同的时间: 如:日期(2008-09-04)、时间(12:12:12)、日期+时间(2008-09-04 12:11:10)等。 //获取日期+时间 DateTime.Now.ToString(); // 阅读全文
posted @ 2022-05-16 15:25 与f 阅读(2073) 评论(0) 推荐(0)
摘要: 给父容器after或者before(适用于每行3或者4列) .box:after { display:block; content:""; width: 32%; height:0px; } 如果两行的,width:50%; 改为百分之五十. 转 :https://blog.csdn.net/qq_ 阅读全文
posted @ 2022-04-23 22:51 与f 阅读(722) 评论(0) 推荐(0)
摘要: 报错:Unexpected reserved word 'await' async handleDelete() { let folderFilesIds = [1, 2] this.$confirm('此操作将永久删除文件, 是否继续?', '提示', { confirmButtonText: ' 阅读全文
posted @ 2022-04-23 15:04 与f 阅读(670) 评论(0) 推荐(0)
摘要: 如果要在css中使用变量,需要借助setProperty函数: <template> <div class="home" ref="UI"> <div class="header">hello world</div> </div> </template> <script> export defaul 阅读全文
posted @ 2022-04-22 16:47 与f 阅读(1392) 评论(0) 推荐(0)
摘要: Less Scss 预处理语言 通常咱们会应用less等预处理语言来设定全局的色彩治理 color.less // DARK-THEME @base-bg: #001f3b; // @base-bg: #042d6b; @light-font-color: rgb(219, 219, 219); @ 阅读全文
posted @ 2022-04-22 16:42 与f 阅读(1119) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 122 下一页