摘要: 不从缓存加载<meta http-equiv="pragma" content="no-cache" /> 过期不加载缓存<meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT"/> 阅读全文
posted @ 2023-01-12 11:01 枫叶ak 阅读(75) 评论(0) 推荐(0)
摘要: /^(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[\x21-\x2f\x3a-\x40\x5b-\x60\x7B-\x7F])[\da-zA-Z\x21-\x2f\x3a-\x40\x5b-\x60\x7B-\x7F]{8,}$/ 阅读全文
posted @ 2023-01-12 10:58 枫叶ak 阅读(632) 评论(0) 推荐(0)
摘要: ::v-deep .el-table tr:hover > td { background-color: #c4fad3 !important; } /deep/ .el-table tr{ background-color: #f5fcff; } 阅读全文
posted @ 2022-08-03 11:11 枫叶ak 阅读(322) 评论(0) 推荐(0)
摘要: 1、查看指定端口9999的进程id netstat -tunlp | grep 9999 2、杀进程id kill -s 9 进程ID 3、后台启动node nohup node serve.js > log.out 2>&1 & 阅读全文
posted @ 2022-07-27 22:58 枫叶ak 阅读(62) 评论(0) 推荐(0)
摘要: TypeScript 忽略类型检查 1、单行忽略 type a = string // @ts-ignore let a = 0 2、跳过对某些文件的检查 (添加到该文件的首行才起作用) // @ts-nocheck type a = string a = 2 a = "4" 阅读全文
posted @ 2022-07-19 11:12 枫叶ak 阅读(2779) 评论(0) 推荐(0)
摘要: 代码:(和formdata差不多,适用于application/x-www-form-urlencoded 格式传数据) let params = new URLSearchParams() params.append('param',JSON.stringify(data)) 阅读全文
posted @ 2022-04-15 12:17 枫叶ak 阅读(1053) 评论(0) 推荐(0)