1. 本地新增项目 touch README.md git init git add README.md git commit -m "first commit" git remote add origin https://XXX.git 仓库地址 git push -u origin master ...
分类:
其他好文 时间:
2020-05-13 12:26:12
阅读次数:
52
version control --> log --> 指定提交记录右键 --> undo commit ...
分类:
其他好文 时间:
2020-05-13 12:02:30
阅读次数:
192
tid = table.checkStatus('test').data; //获取选中的value test:table的id // 循环添加到新的数组存起来 for(var i=0; i<tid.length;i++){ tidArr.push(tid[i].tid); } tabel开启che ...
分类:
其他好文 时间:
2020-05-13 10:05:22
阅读次数:
294
安装js-xlsxnpminstallxlsx--save按钮添加导出事件<button@click="exportData">导出</button>定义导出方法exportData(){lettableData=[[‘姓名‘,‘年龄‘,‘性别‘,‘部门/小组‘]]//表格表头this.data.forEach(item=>{letrowData=[]rowData=
分类:
Web程序 时间:
2020-05-12 18:42:24
阅读次数:
61
es5的继承 1.原型链继承 缺点:创建实例时不能传递参数,所有属性都被实例共享 function Parent() { this.name = 'kevin'; } Parent.prototype.getName = function () { console.log(this.name); } ...
分类:
Web程序 时间:
2020-05-12 16:55:26
阅读次数:
83
题目如下: var funcs = [] for (var i = 0; i < 10; i++) { funcs.push(function() { console.log(i) }) } funcs.forEach(function(func) { func() }) 第一眼看到的时候以为会输出 ...
分类:
其他好文 时间:
2020-05-12 13:53:01
阅读次数:
44
问题: 有一段时间没有用码云了,当输入 git push -u origin master命令出现Please make sure you have the correct access rights and the repository exists.错误, 原因: 是git服务器没有发现存储本地 ...
分类:
数据库 时间:
2020-05-12 11:49:41
阅读次数:
99
分别从左向右,从右向左遍历最短的字符串,遍历时截取最短字符串的每一个子串,看长字符串中是否包含这个子串,包含的话把长度push到数组中 function getM(str1, str2){ var len = str1.length >= str2.length ? str2.length : st ...
分类:
其他好文 时间:
2020-05-12 11:17:53
阅读次数:
69
设计一个支持 push ,pop ,top 操作,并能在常数时间内检索到最小元素的栈。 push(x) —— 将元素 x 推入栈中。pop() —— 删除栈顶的元素。top() —— 获取栈顶元素。getMin() —— 检索栈中的最小元素。 示例: 输入:["MinStack","push","p ...
分类:
其他好文 时间:
2020-05-12 09:51:07
阅读次数:
53
零、有啥用 网上大多数的微信逆向思路,是CE搜索数据得到地址,OD下访问断点,然后在堆栈里面大海捞针的找Call,效率太低了。 其实微信的界面是用Duilib做的,Duilib的界面布局写在XML文件。然后界面的消息处理,是通过控件名处理的。比如发送按钮,XML文件里面是"send_btn",代码里 ...
分类:
微信 时间:
2020-05-11 18:39:23
阅读次数:
260