摘要: 第一种方法:“溢出省略号”,即当文字超出一定宽度时,将其省略,并显示“...”。p { overflow: hidden; /* 将超出部分隐藏 */ text-overflow: ellipsis; /* 显示省略号 */ white-space: nowrap; /* 禁止换行 */ } 第二种 阅读全文
posted @ 2023-09-12 10:18 3939! 阅读(1421) 评论(0) 推荐(0) 编辑
摘要: DataTable dt = new DataTable(); sql.Append(" SELECT a from b "); dt = SqlHelper.GetDataTable(sql.ToString()); sql = new StringBuilder(); sql.Append(" 阅读全文
posted @ 2023-08-29 11:11 3939! 阅读(229) 评论(0) 推荐(0) 编辑
摘要: this.listDataIn = data.Result.data; const uniqueItems: Item[] = Array.from( new Set(this.listDataIn.map(item => item.MyLandID)) ).map(id => { return o 阅读全文
posted @ 2023-08-24 14:15 3939! 阅读(83) 评论(0) 推荐(0) 编辑
摘要: <img style="width: 7rem;height: 7rem;border-radius: 50%;" src="{{headPath}}" onerror="onerror=null;src='./assets/imgs/avatar.png'" > 在img标签中加上 onerror 阅读全文
posted @ 2023-08-23 09:57 3939! 阅读(11) 评论(0) 推荐(0) 编辑
摘要: <button (click)="ReportUploads($event,item?.PickProductID)">上传</button> ReportUploads($event) { window.event? window.event.cancelBubble = true : $even 阅读全文
posted @ 2023-08-18 10:00 3939! 阅读(55) 评论(0) 推荐(0) 编辑
摘要: const arr: string[] = ['pom', '皮蛋编程', '非常厉害', '太棒了']; const filteredArr: string[] = arr.filter((str: string) => { return str.includes('编程'); }); conso 阅读全文
posted @ 2023-08-09 12:51 3939! 阅读(238) 评论(0) 推荐(0) 编辑
摘要: DevTools 无法加载源映射: 无法加载http://localhost:8081/statics/css/bootstrap.min.css.map 的内容:HTTP 错误: 状态代码 404,net::ERR_HTTP_RESPONSE_CODE_FAILURE 解决办法:找到bootstr 阅读全文
posted @ 2023-07-11 10:26 3939! 阅读(227) 评论(0) 推荐(0) 编辑
摘要: http://font.chinaz.com/ @font-face { font-family: 'Yaotis'; src: url('../fonts/FZYTJW.TTF');} 阅读全文
posted @ 2023-06-26 16:40 3939! 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 圆形章<!DOCTYPE HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>圆形公章</title> </HEAD> <body> <BR> 输入单位(14位,多了自己调 阅读全文
posted @ 2023-06-14 09:53 3939! 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 1.TypeScript学习 TypeScript是微软推出的编程语言,始于javascript,归于javascript。说白了你用TypeScript写的程序最终还是要编译成javascript。毕竟是要在浏览器运行的,目前市面上浏览器都基于ES5是不支持TypeScript运行的。按照惯例,先 阅读全文
posted @ 2022-03-02 15:10 3939! 阅读(54) 评论(0) 推荐(0) 编辑