上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: function semicolon_Add(num){ num = num.replace(/,/g,""); if (num != ""){ var re = /^\d+(\.\d+)?$/; if(re.test(num)){ var parts = num.toString().split( 阅读全文
posted @ 2023-07-08 14:49 伟笑 阅读(11) 评论(0) 推荐(0) 编辑
摘要: /** * 保留小数点n位且整数自动补零 * */ pointFloor(num, n) { if (typeof(num) == 'number' || typeof(num) == 'string') { let numStr = num + ""; let list = numStr.spli 阅读全文
posted @ 2023-07-07 21:15 伟笑 阅读(5) 评论(0) 推荐(0) 编辑
摘要: git commit --no-verify -m "信息汇总页面样式" 阅读全文
posted @ 2023-06-25 11:02 伟笑 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 执行命令 git fetch --prune 阅读全文
posted @ 2023-05-29 15:19 伟笑 阅读(123) 评论(0) 推荐(0) 编辑
摘要: let arr = []; if (res.data && res.data.havePowerComCodes) { for (const [key, value] of Object.entries(res.data.havePowerComCodes)) { const obj = { lab 阅读全文
posted @ 2023-04-27 13:37 伟笑 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 1、查看是否忽略大小写 git config core.ignorecase true 为忽略大小写 false 为不忽略大小写 2、运行 git config core.ignorecase false,关闭 git 忽略大小写配置 阅读全文
posted @ 2023-04-26 17:54 伟笑 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1、HTML <template> <div> <input type='checkbox' class='input-checkbox' v-model='checked' v-on:click='checkedAll'>全选 <template v-for='checkb in checkbox 阅读全文
posted @ 2021-03-12 11:42 伟笑 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/shicongbuct/p/6487122.html 阅读全文
posted @ 2021-03-05 11:24 伟笑 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 代码: <template> <div id="app"> <div @click="initMap" id="main"></div> <div @click="reLoad" class="re-load"> <i class="el-icon-refresh-right"></i> </div 阅读全文
posted @ 2021-02-03 18:07 伟笑 阅读(4284) 评论(0) 推荐(1) 编辑
摘要: 代码: <template> <div class="amapBox"> <el-amap class="amap-box" :vid="'hunan-amap'" :plugin="plugin" :center="mapCenter" :events="events" ref="map" :am 阅读全文
posted @ 2021-02-03 10:14 伟笑 阅读(924) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页