上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页
摘要: dataGridView1.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells; dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSiz 阅读全文
posted @ 2024-01-08 14:57 ziff123 阅读(509) 评论(0) 推荐(0)
摘要: 1、主要利用Audio的监听事件addEventListener,监听到声音播放结束ended,播放下一个文件 audio.addEventListener('ended', function () { console.log('音频播放结束'); }); 2、示例: var voiceList = 阅读全文
posted @ 2023-12-29 11:55 ziff123 阅读(451) 评论(0) 推荐(0)
摘要: 1、navigator.getUserMedia 访问麦克风、摄像头http站点是没有权限的(除了localhost)需要浏览器设置一下 打开谷歌浏览器,地址栏输入chrome://flags/#unsafely-treat-insecure-origin-as-secure 2、重启浏览器 阅读全文
posted @ 2023-12-29 11:11 ziff123 阅读(937) 评论(0) 推荐(0)
摘要: vue发布到IIS后,需要通过二级域名访问: 1、找到config->index.js 节点assetsPublicPath,设置你要的二级域名名称 2、IIS创建站点后,在站点下添加应用程序web (跟上面同名) 3、之后就可以通过http://xxx/web 访问 PS:有项目没有config文 阅读全文
posted @ 2023-12-29 11:02 ziff123 阅读(296) 评论(0) 推荐(0)
摘要: 前端实现图片一次全部下来后,在调图片显示 var imgsrc=[ "http:/XXX01.jpg", "http://XXX02.jpg", "http://XXX0.jpg" ]; var imgArr = [] for (var i = 0; i < imgsrc.length; i++){ 阅读全文
posted @ 2023-12-28 16:38 ziff123 阅读(40) 评论(0) 推荐(0)
摘要: css 属性 Overflow 可以实现溢出显示滚动条 overflow: scroll; 或 overflow-y: auto overflow-x: auto 实现div元素滚动条默认滚动到最底端 使用场景:聊天信息框 需要了解几个属性和方法: scrollHeight:元素高度 (包含滚动条隐 阅读全文
posted @ 2023-12-28 14:20 ziff123 阅读(2878) 评论(0) 推荐(0)
摘要: java: /** * sha1加密 * * @param encryptText 加密文本 * @param encryptKey 加密键 * @return 加密 */ private static String hmacSHA1Encrypt(String encryptText, Strin 阅读全文
posted @ 2023-12-18 11:20 ziff123 阅读(403) 评论(0) 推荐(0)
摘要: java中的System.currentTimeMillis()返回从1970年1月1日开始的以毫秒为单位的当前时间 public static long DateTimeToTimestamp() { DateTime Jan1970 = new DateTime(1970, 1, 1, 0, 0 阅读全文
posted @ 2023-12-18 10:56 ziff123 阅读(163) 评论(0) 推荐(0)
摘要: pyhon 调selenium报: selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chro 阅读全文
posted @ 2023-12-06 15:32 ziff123 阅读(705) 评论(0) 推荐(1)
摘要: 1、打开PowerShell,输入以下命令,该命令会创建一个证书,并颁发给localhost New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname localhost -NotAfter 2060-01 阅读全文
posted @ 2023-11-20 09:15 ziff123 阅读(433) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页