上一页 1 2 3 4 5 6 7 8 ··· 31 下一页
  2023年5月10日
摘要: 案例1 process.nextTick(() => {console.log('111');}); const promise = new Promise(resolve => { console.log('222'); resolve(); }); setTimeout(() => {conso 阅读全文
posted @ 2023-05-10 13:53 文种玉 阅读(56) 评论(0) 推荐(0) 编辑
  2023年4月24日
摘要: editor.snippetSuggestions 阅读全文
posted @ 2023-04-24 00:35 文种玉 阅读(153) 评论(0) 推荐(0) 编辑
  2023年3月9日
摘要: ![](https://img2023.cnblogs.com/blog/1341065/202303/1341065-20230309144127766-1103558868.png) ![](https://img2023.cnblogs.com/blog/1341065/202303/1341065-20230309144137104-693172639.png) ![](https://i 阅读全文
posted @ 2023-03-09 14:42 文种玉 阅读(47) 评论(0) 推荐(0) 编辑
  2023年2月24日
摘要: //获取前端请求过来的IP地址 let ip = (req.headers['x-real-ip'] || req.connection.remoteAddress).slice(7); //解决中文乱码 res.setHeader("content-Type",'text/plain;charse 阅读全文
posted @ 2023-02-24 14:52 文种玉 阅读(68) 评论(0) 推荐(0) 编辑
摘要: // 邮件发送第三方 // 0. 下载第三方 nodemailer // 1. 导入第三方 const nodemailer = require('nodemailer') // 2. 按照规则使用 // 2-1. 创建邮差(配置发送方配置项) // 语法: nodemailer.cretaeTra 阅读全文
posted @ 2023-02-24 10:34 文种玉 阅读(73) 评论(0) 推荐(0) 编辑
  2023年1月6日
摘要: Nodejs Mysql 执行多条SQL语句 最近用 Nodejs + Express + Mysql 写接口碰到一个需要四表联查的接口。。。我特么只会连两张表啊~!网上百度了一波四表联查,由于我接口的数据相对比较复杂,果不其然,最终以凉凉告终,生活的压力最终迫使我向 SQL 妥协了。于是换了个思路 阅读全文
posted @ 2023-01-06 18:18 文种玉 阅读(704) 评论(0) 推荐(1) 编辑
  2022年12月14日
摘要: 三列 .bottom .classItem{ display: flex; justify-content: flex-start; flex-wrap: wrap; } .bottom .classItem .item{ width: 33.33333333333333333333%; heigh 阅读全文
posted @ 2022-12-14 13:41 文种玉 阅读(75) 评论(0) 推荐(0) 编辑
  2022年11月25日
摘要: ![](https://img2023.cnblogs.com/blog/1341065/202305/1341065-20230527112212646-596795718.png) 1. 完整的导航守卫流程 2. 路由导航守卫和Vue实例生命周期钩子函数的执行顺序? 4. 在afterEach钩 阅读全文
posted @ 2022-11-25 16:48 文种玉 阅读(47) 评论(0) 推荐(0) 编辑
  2022年10月13日
摘要: let ip = (req.headers['x-real-ip'] || req.connection.remoteAddress).slice(7); 阅读全文
posted @ 2022-10-13 21:22 文种玉 阅读(93) 评论(0) 推荐(0) 编辑
  2022年8月25日
摘要: 员工与部门 从员工的角度出发 => 一个员工属于一个部门 从部门的角度出发 => 一个部分拥有多个员工 员工与角色 一个人可以扮演多个角色 老师与学生 老师可以带多个学生 学生可以上多个老师的课 阅读全文
posted @ 2022-08-25 20:25 文种玉 阅读(89) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 31 下一页