上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 42 下一页
摘要: Docker 容器镜像删除 1.停止所有的container,这样才能够删除其中的images: docker stop $(docker ps -a -q) 如果想要删除所有container的话再加一个指令: docker rm $(docker ps -a -q) 2.查看当前有些什么imag 阅读全文
posted @ 2018-07-16 15:13 chester·chen 阅读(162) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/kissdodog/category/488819.html 阅读全文
posted @ 2018-07-02 16:18 chester·chen 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 我们平时建表的时候都会为表加上主键, 在某些关系数据库中, 如果建表时不指定主键,数据库会拒绝建表的语句执行。 事实上, 一个加了主键的表,并不能被称之为「表」。一个没加主键的表,它的数据无序的放置在磁盘存储器上,一行一行的排列的很整齐, 跟我认知中的「表」很接近。如果给表上了主键,那么表在磁盘上的 阅读全文
posted @ 2018-07-01 11:28 chester·chen 阅读(320) 评论(0) 推荐(0) 编辑
摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections ... 阅读全文
posted @ 2018-06-28 15:45 chester·chen 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 第一种,全局设置: 第二种,拦截器设置 阅读全文
posted @ 2018-06-25 12:00 chester·chen 阅读(1448) 评论(0) 推荐(0) 编辑
摘要: 设置允许跨域访问的网址--> 设置预检有效时间--> --> 阅读全文
posted @ 2018-06-25 11:43 chester·chen 阅读(1077) 评论(0) 推荐(1) 编辑
摘要: https://www.cnblogs.com/ideacore/p/7803606.html 1.安装T4 Toolbox 2.新建T4 Toolbox模板 3.编辑T4 Toolbox模板 Bbing_Template_Mongo_Service.tt 4.添加T4模板 Bbing_Templa 阅读全文
posted @ 2018-06-22 19:00 chester·chen 阅读(251) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/landeanfen/p/4816706.html https://www.cnblogs.com/malaoko/p/8732552.html 阅读全文
posted @ 2018-06-21 16:41 chester·chen 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Vue.js 提供了一个方法 watch,它用于观察Vue实例上的数据变动。对应一个对象,键是观察表达式,值是对应回调。值也可以是方法名,或者是对象,包含选项。 例如,同一个组件切换时,不会触发生命周期函数,我们可以用watch监视$route,实现生命周期函数可实现的操作。 阅读全文
posted @ 2018-06-21 12:59 chester·chen 阅读(157) 评论(0) 推荐(0) 编辑
摘要: // 全局路由守卫 router.beforeEach((to, from, next) => { // to: Route: 即将要进入的目标 路由对象 // from: Route: 当前导航正要离开的路由 // next: Function: 一定要调用该方法来 resolve 这个钩子。执行效果依赖 next 方法的调用参数。 console.log(to) cons... 阅读全文
posted @ 2018-06-21 12:56 chester·chen 阅读(598) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 42 下一页