摘要: bat里循环1万次测试时间 @echo off @echo start: %time% set /a i=0 :LoopStart set /a i+=1 if %i% leq 10000 goto LoopStart @echo end: %time% 自己的电脑,循环1万次要7,8秒 公司服务器 阅读全文
posted @ 2023-11-06 22:17 牛腩 阅读(35) 评论(0) 推荐(0) 编辑
摘要: javascript中的时间格式化的方法 Date.prototype.format = function(format) { var o = { "M+": this.getMonth() + 1, //month "d+": this.getDate(), //day "h+": this.ge 阅读全文
posted @ 2023-11-06 11:42 牛腩 阅读(13) 评论(0) 推荐(0) 编辑
摘要: uni app 的ui插件uview里自带的一些正则表达式 取自"uni_modules\uview-ui\libs\function\test.js" /** * 验证电子邮箱格式 */ function email(value) { return /^\w+((-\w+)|(\.\w+))*\@ 阅读全文
posted @ 2023-11-06 11:30 牛腩 阅读(22) 评论(0) 推荐(0) 编辑