Fork me on GitHub
摘要: Stopwatch st = new Stopwatch(); st.Start(); for(int i =0; i<100000; i++) { console.writeLine('输出'); } st.Stop(); TimeSpan ts = st.Elapsed; BaseHelper. 阅读全文
posted @ 2022-10-13 11:24 SmallChan 阅读(82) 评论(0) 推荐(0)
摘要: <div class="qb"> <div class="box"> <div class="qtt f_16 fbd">会议室:区政府中一楼会议室</div> <ul class="ul1"> <li> <div class="llt">地板、地毯</div> <div class="lrt">请 阅读全文
posted @ 2022-10-12 16:38 SmallChan 阅读(40) 评论(0) 推荐(0)
摘要: 手机号码:var reg1 = /^1[3|4|5|6|7|8|9][0-9]\d{8}$/; //前端验证 function validData() { var txtPhone = $("#txtPhone").val(); var reg1 = /^1[3|4|5|6|7|8|9][0-9]\ 阅读全文
posted @ 2022-10-12 11:39 SmallChan 阅读(30) 评论(0) 推荐(0)
摘要: 1.右键项目属性进去修改 2.,用txt打开sln解决方案,框框中的就是你当前的端口号 阅读全文
posted @ 2022-09-16 09:41 SmallChan 阅读(469) 评论(0) 推荐(0)
摘要: //除法 function dataDivisition(a, b) { if (b != "0") { return (a / b * 100).toFixed(2) + "%"; } return "0%"; }//查找集合某个对象是否存在,不存在就新增 function arrDeal(arr 阅读全文
posted @ 2022-09-14 15:25 SmallChan 阅读(40) 评论(0) 推荐(0)
摘要: 接触了 net core的小伙伴们 已经发现 @html.Action()方法 官方已经不提供支持了,转而使用 ViewComponents替代了,同时也增加了TagHelper。 1.如果想用以前的@Html.Action()方法,那只能手动实现了,记得服务注册!!! 详情转: https://w 阅读全文
posted @ 2022-08-14 14:39 SmallChan 阅读(246) 评论(0) 推荐(0)
摘要: 使用命令提示符 打开cmd窗口,输入 reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d “” /f 按下enter,重启电脑,搞定! 阅读全文
posted @ 2022-08-09 23:21 SmallChan 阅读(127) 评论(0) 推荐(0)
摘要: //父级弹窗 function showAlertOrg() { layui.use('layer', function () { var body; var index = layer.open({ title: '接待单位', type: 2, btn: ['确认'], content: "/m 阅读全文
posted @ 2022-07-13 17:15 SmallChan 阅读(815) 评论(0) 推荐(0)
摘要: 有时候我们调用第三方接口,返回的并不是完整的链接带参数,而我们只需要获取指定的一些参数 例如:code=200&msg=success&timestamp=1657539&nonce_str=T8Zhan&data=%7B%22pre_tre_no%22%3A%22OID2022071117311B 阅读全文
posted @ 2022-07-11 18:22 SmallChan 阅读(396) 评论(0) 推荐(1)
摘要: insert delete update select 选择数据库进行操作select top 1 * from smzx2018.dbo.tbuseruse smzx2018;select top 1 * from tbuser 基础操作select COUNT(userid) from smzx 阅读全文
posted @ 2022-07-05 10:14 SmallChan 阅读(257) 评论(0) 推荐(0)