上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 35 下一页
  2022年7月2日
摘要: 使用sequelize操作mysql 下载egg-sequelize: npm i --save egg-sequelize mysql2 在plugin.js文件引入插件 //在plugin.js文件中引入egg-sequelize modele.eports = { sequelize:{ en 阅读全文
posted @ 2022-07-02 22:18 谢晨锋 阅读(74) 评论(0) 推荐(0)
摘要: 在app目录下创建middleware文件夹 在muiddleware创建js文件 function checktoken(){ return async function(ctx,next){ console.log('middleware checktoken'); await next(); 阅读全文
posted @ 2022-07-02 22:05 谢晨锋 阅读(47) 评论(0) 推荐(0)
摘要: 按快捷键 ctrl+shift+p 输入snippets 选择配置用户自定义代码块 选择 js.code-snippets 复制如下 { "A": {//第一个自定义的代码片段 "prefix": "/*", //输入/* "body": ["/**", "*", "*/"], }, "B":{// 阅读全文
posted @ 2022-07-02 20:21 谢晨锋 阅读(283) 评论(0) 推荐(0)
  2022年6月22日
摘要: LSg5n6zOi54hwFDRk2eRxmOwsNWrniKy 阅读全文
posted @ 2022-06-22 17:20 谢晨锋 阅读(101) 评论(0) 推荐(0)
摘要: aaa' or 1=1 # 阅读全文
posted @ 2022-06-22 17:13 谢晨锋 阅读(44) 评论(0) 推荐(0)
  2022年6月16日
摘要: /* A instanceOf B 判断B的prototype是否出某个实例对象的原型链上 */ function Person(){} let p1 = new Person(); console.log(p1.__proto__ Person.prototype); console.log([] 阅读全文
posted @ 2022-06-16 21:15 谢晨锋 阅读(119) 评论(0) 推荐(0)
  2022年6月14日
摘要: ![](https://img2022.cnblogs.com/blog/1341065/202206/1341065-20220614115707623-229617066.png) 阅读全文
posted @ 2022-06-14 11:57 谢晨锋 阅读(44) 评论(0) 推荐(0)
  2022年5月5日
摘要: 1. xxx is not defined - 表示你使用了一个 xxx 变量 - 你使用的这个变量没有被声名过 2. xxx is not a function - 表示你写了一段代码是 xxx() - 表示 xxx 这个变量有,但是不是一个函数你把他当作一个函数来调用 3. Cannot set 阅读全文
posted @ 2022-05-05 05:01 谢晨锋 阅读(134) 评论(0) 推荐(0)
  2022年4月28日
摘要: 删除所有,保留如下 { "vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatter.js": "vscode-typescript", "vetur.format.defaultFo 阅读全文
posted @ 2022-04-28 02:01 谢晨锋 阅读(559) 评论(0) 推荐(0)
  2022年4月8日
摘要: 💪二头肌 ⇒ 加油! 👈指向左边的手指 👉指向右边的手指 ⇒ 查百度 ☝指向上边的手指 👆指向上边的手指 👇指向下边的手指 ✌胜利手势 ✋举手,手掌 👌OK手势 👍大拇指,称赞 👎大拇指朝下,鄙视 ⇒ 爱你哟 ✊举起拳头 👊击拳 👋挥手 👏拍手,鼓掌 👐张开的双手 ✍正在写字 阅读全文
posted @ 2022-04-08 14:48 谢晨锋 阅读(22873) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 35 下一页