会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
尾野
博客园
首页
新随笔
联系
管理
订阅
2020年9月8日
Nest.js —— A progressive Node.js framework
摘要: 初识nest
阅读全文
posted @ 2020-09-08 15:29 尾野
阅读(206)
评论(0)
推荐(0)
2020年7月28日
Mongoose基于MongoDB建模并设置关联
摘要: 一、模型关联 1.一对多/多对多 在一中关联多中的字段,type为 mongoose.Schema.Types.ObjectId ,并关联关联模型的名称。 1 const Categoryschema = new mongoose.Schema({ 2 name: { type: String },
阅读全文
posted @ 2020-07-28 22:43 尾野
阅读(565)
评论(0)
推荐(0)
2020年7月8日
vue-awesome-swiper的各种坑OTZ
摘要: 不听话的插件删掉就好啦
阅读全文
posted @ 2020-07-08 18:41 尾野
阅读(929)
评论(0)
推荐(0)
2020年7月6日
less/sass的each用法
摘要: // example @selectors: blue, green, red; each(@selectors, { .sel-@{value} { a: b; } }) // outputs .sel-blue { a: b; } .sel-green { a: b; } .sel-red {
阅读全文
posted @ 2020-07-06 18:23 尾野
阅读(2035)
评论(0)
推荐(0)
2020年7月4日
密码及登录
摘要: bcrypt密码加密 jsonwebtoken获取token
阅读全文
posted @ 2020-07-04 21:44 尾野
阅读(209)
评论(0)
推荐(0)
2020年7月3日
图片上传接口
摘要: module.exports = app => { const path = require('path') const multer = require('multer') const upload = multer({ dest: path.join(__dirname, 'uploads')
阅读全文
posted @ 2020-07-03 21:15 尾野
阅读(1143)
评论(0)
推荐(0)
配置CRUD通用接口
摘要: 数据库增删改查的通用接口,命名需要严格按照标准,数据库大写单数,请求路径小写复数
阅读全文
posted @ 2020-07-03 20:49 尾野
阅读(458)
评论(0)
推荐(0)
2020年4月23日
鼠标位置以及元素大小
摘要: offset- client- scroll-
阅读全文
posted @ 2020-04-23 15:55 尾野
阅读(225)
评论(0)
推荐(0)
2020年4月12日
移动端常见布局
摘要: 流式布局(百分比布局) flex弹性布局 less+rem+媒体查询布局 bootstrap 混合布局 响应式页面兼容移动端 媒体查询 bootstarp
阅读全文
posted @ 2020-04-12 23:17 尾野
阅读(461)
评论(0)
推荐(0)
公告