摘要:
function semicolon_Add(num){ num = num.replace(/,/g,""); if (num != ""){ var re = /^\d+(\.\d+)?$/; if(re.test(num)){ var parts = num.toString().split( 阅读全文
摘要:
/** * 保留小数点n位且整数自动补零 * */ pointFloor(num, n) { if (typeof(num) == 'number' || typeof(num) == 'string') { let numStr = num + ""; let list = numStr.spli 阅读全文
摘要:
git commit --no-verify -m "信息汇总页面样式" 阅读全文
摘要:
执行命令 git fetch --prune 阅读全文
摘要:
let arr = []; if (res.data && res.data.havePowerComCodes) { for (const [key, value] of Object.entries(res.data.havePowerComCodes)) { const obj = { lab 阅读全文
摘要:
1、查看是否忽略大小写 git config core.ignorecase true 为忽略大小写 false 为不忽略大小写 2、运行 git config core.ignorecase false,关闭 git 忽略大小写配置 阅读全文
摘要:
1、HTML <template> <div> <input type='checkbox' class='input-checkbox' v-model='checked' v-on:click='checkedAll'>全选 <template v-for='checkb in checkbox 阅读全文
摘要:
参考:https://www.cnblogs.com/shicongbuct/p/6487122.html 阅读全文
摘要:
代码: <template> <div id="app"> <div @click="initMap" id="main"></div> <div @click="reLoad" class="re-load"> <i class="el-icon-refresh-right"></i> </div 阅读全文
摘要:
代码: <template> <div class="amapBox"> <el-amap class="amap-box" :vid="'hunan-amap'" :plugin="plugin" :center="mapCenter" :events="events" ref="map" :am 阅读全文