摘要: https://github.com/Aquarius1993/nodeNotes 功能 安装部署 https://github.com/Aquarius1993/nodeNotes 阅读全文
posted @ 2017-04-24 14:00 lhy031 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 关于crypto的md5加密报错: 代码: 如果md5.update只使用一次则不会出错,多次就会报错 修改为每次重新构建md5: 结果正确。 阅读全文
posted @ 2017-04-21 11:20 lhy031 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 1. 安装jdk环境 终端键入 java -version 记下版本号:1.8.0_101 如果有版本号表示安装成功; 若未安装,可去官网下载。http://www.oracle.com/technetwork/java/javase/downloads/index.html 配置环境: open 阅读全文
posted @ 2017-03-22 14:45 lhy031 阅读(213) 评论(1) 推荐(0) 编辑
摘要: pagination.vue store.js 调用: table.vue 阅读全文
posted @ 2017-01-23 10:31 lhy031 阅读(1622) 评论(1) 推荐(0) 编辑
摘要: react+react-router+antd 栗子:https://github.com/Aquarius1993/reactApp 模块: 1. 引入模块 import React from 'react'; 2. 导出组件 export default App; 3. 引用 import Ap 阅读全文
posted @ 2017-01-23 09:46 lhy031 阅读(228) 评论(0) 推荐(0) 编辑
摘要: react+react-router+antd 栗子:https://github.com/Aquarius1993/reactApp 应用场景: 1.复杂场景下的高性能 2.重用组件库,组件组合 3.懒 库 react.main.js react的核心库 react-dom.js 与dom相关的功 阅读全文
posted @ 2017-01-18 12:51 lhy031 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 一. 推荐开发环境 二. 安装环境 <!--?xml version="1.0" encoding="UTF-8"?--> 安装 nvm :curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | b 阅读全文
posted @ 2017-01-04 14:49 lhy031 阅读(214) 评论(0) 推荐(0) 编辑
摘要: var startPosition={},deltaY,endPosition={}; document.addEventListener('touchstart',touch, false); document.addEventListener('touchmove',touch, false); document.addEventListener('touchend',touch, ... 阅读全文
posted @ 2016-11-21 18:15 lhy031 阅读(3001) 评论(0) 推荐(0) 编辑
摘要: 1.保留两位小数 2. 判断小数数值上是不是等于整数(如果等于则保留整数部分) 阅读全文
posted @ 2016-11-18 10:01 lhy031 阅读(391) 评论(0) 推荐(0) 编辑
摘要: var body = document.getElementsByTagName('body')[0]; document.title = title; var iframe = document.createElement("iframe"); iframe.style.display="none"; iframe.setAttribute("src", "http://named.cn/pa... 阅读全文
posted @ 2016-10-25 11:31 lhy031 阅读(534) 评论(0) 推荐(0) 编辑