04 2023 档案

摘要:苹果电脑可以通过Homebrew来安装Redis。请按照以下步骤进行操作: 1.打开Terminal(终端)应用程序2.输入以下命令以安装Homebrew: ```/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebre 阅读全文
posted @ 2023-04-26 21:55 不再犯错 阅读(274) 评论(0) 推荐(0) 编辑
摘要:1.后台 安装 egg-socket.io npm i egg-socket.io --save 开启插件 // {app_root}/config/plugin.js exports.io = { enable: true, package: 'egg-socket.io', }; 配置 // { 阅读全文
posted @ 2023-04-17 17:22 不再犯错 阅读(286) 评论(0) 推荐(0) 编辑
摘要:微任务=>DOM渲染=>宏任务 setTimeout(function(){ console.log("定时任务") }) new Promise((resolve)=>{ console.log("1 promise 1") //同步 resolve(); }).then(()=>{ consol 阅读全文
posted @ 2023-04-03 21:56 不再犯错 阅读(14) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示