上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 133 下一页
摘要: mac连接mongo 我的mac启动路径 cd /opt/homebrew/opt/mongodb-community@4.4/bin ./mongo 启动mongod 带有配置文件 /usr/local/mongodb/bin/mongod -f /usr/local/mongodb/mongo. 阅读全文
posted @ 2022-10-27 10:54 盘思动 阅读(335) 评论(0) 推荐(0)
摘要: 数组里面是数组排序 var aqiData = [ ["北京", 90], ["上海", 50], ["福州", 10], ["广州", 50], ["成都", 90], ["西安", 100] ]; var result = aqiData.sort(function(a,b){ return b 阅读全文
posted @ 2022-10-27 09:29 盘思动 阅读(552) 评论(0) 推荐(0)
摘要: 1.取整 // 丢弃小数部分,保留整数部分 parseInt(5/2) // 2 2.向上取整 // 向上取整,有小数就整数部分加1 Math.ceil(5/2) // 3 3.向下取整 // 向下取整,丢弃小数部分 Math.floor(5/2) // 2 4四舍五入 // 四舍五入 Math.r 阅读全文
posted @ 2022-10-26 14:36 盘思动 阅读(104) 评论(0) 推荐(0)
摘要: command + shift + f 退出也是这个按钮 阅读全文
posted @ 2022-10-25 18:46 盘思动 阅读(144) 评论(0) 推荐(0)
摘要: 在 package.json 文件中修改 scripts "scripts": { "serve": "vue-cli-service serve --port 80", "build": "vue-cli-service build", "lint": "vue-cli-service lint" 阅读全文
posted @ 2022-10-25 13:41 盘思动 阅读(98) 评论(0) 推荐(0)
摘要: https://datav.aliyun.com/portal/school/atlas/area_generator https://www.jb51.net/article/245799.htm https://blog.csdn.net/weixin_46926182/article/deta 阅读全文
posted @ 2022-10-25 13:24 盘思动 阅读(81) 评论(0) 推荐(0)
摘要: 1.ifconfig 2.网络 网络便好设置查看 ip:端口号即可,很奇怪,也不需要win更改电脑配置 这样就可以了... 阅读全文
posted @ 2022-10-24 15:45 盘思动 阅读(198) 评论(0) 推荐(0)
摘要: m1 芯片安装mongodb, 用brew方法安装的 brew install mongodb-community@4.4 启动mongodb命令进程--(按照个人理解,用这命令启动,会自动加载,/opt/homebrew/etc/mongod.conf文件) brew services start 阅读全文
posted @ 2022-10-22 17:18 盘思动 阅读(357) 评论(0) 推荐(0)
摘要: vue 中 animate-number 组件可实现效果 formatter(value){ //return num.toFixed(2) if (!value) return '0' var intPart = Number(value).toFixed(0) // 获取整数部分 var int 阅读全文
posted @ 2022-10-21 20:35 盘思动 阅读(369) 评论(0) 推荐(0)
摘要: demo 1 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>css设置高和宽相等~~</title> <style> *{ margin: 0; padding: 0; } .box{ width: 300px;/* 也可以用 阅读全文
posted @ 2022-10-21 17:10 盘思动 阅读(1156) 评论(0) 推荐(1)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 133 下一页