前言 在使用 vue、react、node 的时候,常常会看到 module.exports,export default,require,import等字段,因为我对这些字段的概念非常模糊,所以导致我在写代码的时候,在node项目里混用了 export default,在 vue 的项目里写 mo ...
分类:
其他好文 时间:
2020-06-09 17:02:47
阅读次数:
72
官方文档:https://sequelize.org/v5/manual/migrations.html 安装:npm install --save sequelize-cli 初始化:npx sequelize-cli init 修改配置文件 创建数据模型:npx sequelize-cli mo ...
分类:
Web程序 时间:
2020-06-07 11:21:58
阅读次数:
82
Vue生命周期 Vue实例需要经过创建、初始化数据、编译模板、挂载DOM、渲染、更新、渲染、卸载等一系列过程,这个过程就是Vue的生命周期,在Vue的整个生命周期中提供很多钩子函数在生命周期的不同时刻调用,Vue中提供的钩子函数有beforeCreate、created、beforeMount、mo ...
分类:
其他好文 时间:
2020-06-04 14:08:23
阅读次数:
69
参考地址 http://kklin.farbox.com/post/liu-xing-kuang-jia/php/tp5.0/5-mo-xing/2-thinkphp5mo-xing-de-zeng-shan-gai-cha ...
分类:
数据库 时间:
2020-06-01 19:16:52
阅读次数:
99
目录: 下载MongoDB 下载太慢 安装MongoDB 服务无法启动 MongoDB历史版本下载 windows :http://dl.mongodb.org/dl/win32/x86_64 linux :http://dl.mongodb.org/dl/linux/x86_64 第一步:下载Mo ...
分类:
数据库 时间:
2020-05-31 15:43:41
阅读次数:
127
MongoDB数据库默认的管理工具是(CLI)Shell命令行,对于专业的DBA来说比较容易上手,但是对于普通人员GUI可视化工具更方便使用。MongoDB官方提供了社区版的Compass,可以独立安装使用,也提供了云服务器版本MongoDB Atlas。商业版本的MongoDB必须购买其订阅。Mo ...
分类:
数据库 时间:
2020-05-31 12:38:18
阅读次数:
263
python django models中自定义用户认证 #(一) #简单的用户验证 # from django.contrib.auth.models import User # class UserProfile(models.Model):s # '''堡垒机账户''' # user = mo ...
分类:
编程语言 时间:
2020-05-26 15:19:19
阅读次数:
71
给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。 示例: 输入: [0,1,0,3,12]输出: [1,3,12,0,0]说明: 必须在原数组上操作,不能拷贝额外的数组。尽量减少操作次数。 class Solution { public: void mo ...
分类:
移动开发 时间:
2020-05-25 12:33:04
阅读次数:
87
JAVA并发编程实战 Brian Goetz深入理解kafka:核心设计与实践原理Maven实战Grale实战Spring实战(第四版)Spring源码深度解析(第2版)从Paxos到ZooKeeper分布式一致性原理实战MySQL技术内幕 InnoDB存储引擎 第2版MyBatis从入门到精通Mo ...
分类:
其他好文 时间:
2020-05-21 11:59:54
阅读次数:
59
鸡块分为 Original Recipe Chicken 不辣的 Hot & Crispy Chicken 辣味的 鸡块包括鸡的,如下部分 Breast 鸡胸 Thigh 鸡大腿 Rib 鸡肋骨 Wing 鸡翅 Drum 鸡腿 玉米卷 Chipotle Meltz 鸡柳,小块脆的玉米饼,西红柿,mo ...
分类:
其他好文 时间:
2020-05-10 13:13:15
阅读次数:
75