上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 133 下一页
摘要: 方法一:nginx 配置 node项目也可如此编译,tips:是proxy_pass,并非proxy_path server { listen 80; #监听端口; server_name local.ping.com; #域名名称 location / { proxy_pass http://12 阅读全文
posted @ 2022-10-28 17:30 盘思动 阅读(397) 评论(0) 推荐(0)
摘要: array_unshift($arr,['id' => 0,'name' => '超级管理员']); 不用赋值,直接会更改arr值 相对应方法 array_push() 阅读全文
posted @ 2022-10-28 13:26 盘思动 阅读(56) 评论(0) 推荐(0)
摘要: v-for写在非template上,添加:key没有任何问题,但是写在template上就不行了,加了就报错 虽然不影响页面渲染,但终端一直报错显示,很讨厌; 有时候,页面渲染,还是需要不加div层的基础上渲染的,vscode编辑器有的也有错误红线提示; '<template>' cannot be 阅读全文
posted @ 2022-10-27 19:48 盘思动 阅读(2367) 评论(0) 推荐(0)
摘要: <div class="bumen" v-for="(item,bmmyIndex) in bmmyd_top4" :key="bmmyIndex"> <div class="title">{{item.name}}</div> <div class="zhuzi_con"> <div v-if=" 阅读全文
posted @ 2022-10-27 17:45 盘思动 阅读(286) 评论(0) 推荐(0)
摘要: 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 盘思动 阅读(331) 评论(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 盘思动 阅读(545) 评论(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 盘思动 阅读(103) 评论(0) 推荐(0)
摘要: command + shift + f 退出也是这个按钮 阅读全文
posted @ 2022-10-25 18:46 盘思动 阅读(141) 评论(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 盘思动 阅读(96) 评论(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 盘思动 阅读(79) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 133 下一页