上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页
摘要: /* 2018/08/25 更新日志:增加 六:条件操作符判断 2018/09/04 更新日志:增加 六.5.三元运算,六.1.注意下 ,七、eval函数使用示例 */ 一.数组Array常用方法 1. 使用reduce const arr = [{ "code": "badge", "priceL 阅读全文
posted @ 2018-12-11 15:57 江山一族 阅读(1067) 评论(0) 推荐(0) 编辑
摘要: const Promise = require('bluebird') const request = Promise.promisifyAll(require('request')) const wxTransferResult = await request.postAsync({ url: ' 阅读全文
posted @ 2018-12-11 10:51 江山一族 阅读(1441) 评论(0) 推荐(0) 编辑
摘要: 1.解压:tar -zxvf archive.tar , unzip file1.zip 2.压缩:tar -cvfz archive.tar.gz dir1 , zip file1.zip file1 阅读全文
posted @ 2018-12-06 10:00 江山一族 阅读(121) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <script src="https://cdn.jsdelivr.net/npm/vue"></script> </head> <body> <div id= 阅读全文
posted @ 2018-11-21 18:12 江山一族 阅读(3990) 评论(0) 推荐(0) 编辑
摘要: 出现上述日志信息,程序就不能往下运行了。 原因:node程序在初始化的时候就报错了,仔细debug吧。。。 阅读全文
posted @ 2018-11-21 16:13 江山一族 阅读(4181) 评论(0) 推荐(0) 编辑
摘要: 1.let ,const,var 区别 let:块级作用域,if,for,用完就不存在了。 const:用来定义常量。 var: 声明的变量在它所声明的整个函数都是可见的。 2.==和 的区别 1==true//true 1 true//false 1 1//true 123=='123'//tru 阅读全文
posted @ 2018-11-13 09:50 江山一族 阅读(155) 评论(0) 推荐(0) 编辑
摘要: var util = require('util'); var evem = require('events').EventEmitter; function myem(){ evem.call(this); } util.inherits(myem, evem); var em = new mye 阅读全文
posted @ 2018-11-09 16:00 江山一族 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 在没有git add之前: 1.撤销所有更改:git checkout . 2.撤销指定文件的更改:git checkout -- file.txt git add之后: git reset HEAD file.txt git push 之后: git reset --hard comittHash 阅读全文
posted @ 2018-10-31 09:39 江山一族 阅读(928) 评论(0) 推荐(0) 编辑
摘要: 1.git checkout -b 新分支名 老分支名 git checkout -b dev_20150909 master git ls -tree 分支名字 阅读全文
posted @ 2018-10-31 09:23 江山一族 阅读(2857) 评论(0) 推荐(0) 编辑
摘要: 【链接】单笔转账到支付宝账户产品介绍更新时间:https://docs.open.alipay.com/309 const crypto = require('crypto') const moment = require('moment') 1.返回给移动端签名字符串: router.post(' 阅读全文
posted @ 2018-10-30 16:18 江山一族 阅读(2551) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页