摘要: git pull rebase origin master 个人理解,在两个git项目合并时,由于两个项目的目录结构不一致。这时推送和拉取都是不行的(此时可以强制推送),git pull rebase origin master 这个命令的意思是把远程仓库拉到本地仓库 git 版本控制 git lo 阅读全文
posted @ 2019-12-27 16:56 qinhuimin 阅读(297) 评论(0) 推荐(0) 编辑
摘要: vue cli 3.0 以下版本 安装方法: npm install global vue cli 或者 npm install vue cli g 卸载方法 npm uninstall vue cli g (不能使用cnpm) vue cli 3.0 以上版本 安装方法 npm install @ 阅读全文
posted @ 2019-12-26 14:08 qinhuimin 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1、prototype的定义 javascript中的每个对象都有prototype属性,Javascript中对象的prototype属性的解释是:返回对象类型原型的引用。 每一个构造函数都有一个属性叫做原型。这个属性非常有用:为一个特定类声明通用的变量或者函数。 你不需要显式地声明一个proto 阅读全文
posted @ 2019-12-21 13:52 qinhuimin 阅读(1742) 评论(0) 推荐(0) 编辑
摘要: Linux 系统 1 安装 git yum install curl devel expat devel gettext devel openssl devel zlib devel perl devel 2 添加git用户 useradd git 设置/home/git文件夹操作权限 chown 阅读全文
posted @ 2019-12-19 17:42 qinhuimin 阅读(782) 评论(0) 推荐(0) 编辑
摘要: 1,密钥 (公钥和私钥) @ 公钥放在服务器上(说白了这里的服务器就是远程仓库, 就是谁建立的远程仓库这个公钥就放在他的ssh设置那) @ 私钥 放在本地就行,不用动,就是你生产密钥的.ssh 文件里 我的疑问 服务器上的公钥是怎么和私钥建立起联系的,公钥能直接找到私钥的位置么,换句话说我把.ssh 阅读全文
posted @ 2019-12-18 16:00 qinhuimin 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 方法一: var arr = [1, 2, 2, 3, 4, 5, 5, 6, 7, 7,8,8,0,8,6,3,4,56,2]; var arr2 = arr.filter((x, index,self)= { // self:表示该数组对象 // x: 表示当前对象 // index: 表示当前 阅读全文
posted @ 2019-11-29 10:37 qinhuimin 阅读(251) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1313725/201911/1313725-20191120172608214-1907874682.png) 阅读全文
posted @ 2019-11-20 17:26 qinhuimin 阅读(299) 评论(0) 推荐(0) 编辑
摘要: vue router传递参数分为两大类 1 编程式的导航 router.push 2声明式的导航 编程式的导航 router.push 编程式导航传递参数有两种类型:字符串、对象。 字符串 字符串的方式是直接将路由地址以字符串的方式来跳转,这种方式很简单但是不能传递参数: this.$router. 阅读全文
posted @ 2019-07-06 14:54 qinhuimin 阅读(6283) 评论(0) 推荐(0) 编辑
摘要: 1 ,新建bus.js 内容如下 2,bus.$emit 绑定数据 bus.$emit('tags', this.tagsList); 第一个参数为定义的变量,第二个为集合数据 3, 监听数据 bus.$on("tages",msg={ }) msg中是获取的上文中的集合数据 bus.js 用途 1 阅读全文
posted @ 2019-07-03 15:34 qinhuimin 阅读(9935) 评论(0) 推荐(0) 编辑
摘要: new Promise(function (resolve, reject) { $.ajax({ type : 'post', data : formData, dataType : 'json', url : url, success: function (data) { if (data.co 阅读全文
posted @ 2019-06-15 15:24 qinhuimin 阅读(359) 评论(0) 推荐(0) 编辑