摘要: 1.通过字符串截取 let phone = '18688886888' phone = phone.substring(0, 3) + '****' + phone.substr(phone.length - 4) console.log(phone) 2.使用正则 let phone = '186 阅读全文
posted @ 2020-09-19 14:20 无痕-范特西 阅读(1252) 评论(0) 推荐(0) 编辑
摘要: 1.下载 npm install echarts --save 2.在main.js中引入 import echarts from 'echarts' Vue.prototype.$echarts = echarts 3.使用 <div id="map" style="width: 100%;hei 阅读全文
posted @ 2020-09-19 14:01 无痕-范特西 阅读(5859) 评论(2) 推荐(1) 编辑