摘要: # wget https://nodejs.org/dist/v10.9.0/node-v10.9.0-linux-x64.tar.xz // 下载# tar xf node-v10.9.0-linux-x64.tar.xz // 解压# cd node-v10.9.0-linux-x64/ // 阅读全文
posted @ 2019-02-19 10:41 xyyyy 阅读(1226) 评论(0) 推荐(0) 编辑
摘要: /** * 请用您认为最优化的方式,将arr中的type为4的数据过滤出来, * 然后按相同的 name + date(按天)合并value(value累加), * 然后按 value 降序(从大到小)排序, * 最后每行按照 "${name},${本地日期},售出${sum(value)}部" 的 阅读全文
posted @ 2019-02-12 21:25 xyyyy 阅读(797) 评论(0) 推荐(0) 编辑
摘要: 博客地址 https://segmentfault.com/a/1190000008956069 阅读全文
posted @ 2019-02-12 14:32 xyyyy 阅读(120) 评论(0) 推荐(0) 编辑
摘要: //公司经常需要签到,之前用py写了个签到的脚本,这次改用node去尝试;(纯属娱乐,顺道记录一下 node 的http请求 get && post 以及如何传参) var request = require("request");//引入md5var md5=require('md5-node') 阅读全文
posted @ 2019-02-10 21:23 xyyyy 阅读(734) 评论(0) 推荐(0) 编辑
摘要: 首先进入node的目录 然后 node --inspect-brk 你需要调试的js Debugger listening on ws://127.0.0.1:9229/c0d4687c-fe68-4ef6-99bd-707fa4d233b3 For help see https://nodejs. 阅读全文
posted @ 2019-01-23 17:30 xyyyy 阅读(1630) 评论(0) 推荐(0) 编辑
摘要: /*eslint-disable*///底部导航栏组件import React from "react";import {render} from "react-dom";import "./compoments.less";import indexNo from '../images/index- 阅读全文
posted @ 2019-01-15 18:37 xyyyy 阅读(168) 评论(0) 推荐(0) 编辑
摘要: /** * Created by kyn on 19/1/10. */var KYN_VALIDATION = (function (win) { var Validation = function () { /** * 设计一个symbol判断弹窗是否设置 */ var _isAlert = fa 阅读全文
posted @ 2019-01-10 21:23 xyyyy 阅读(301) 评论(0) 推荐(0) 编辑
摘要: <script src="https://cdn.bootcss.com/layer/3.0.3/mobile/layer.js"></script> 阅读全文
posted @ 2019-01-03 15:22 xyyyy 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 1.绑定事件的时候不能加(); 错误实例 bindtap=“goLogin()” 2. 微信小程序 不能直接css 不能直接background:url(../../) 引用本地的路径, 只能直接在 行内样式 style="background:url(../../)”; 3.微信小程序调用图片验证 阅读全文
posted @ 2018-12-24 15:32 xyyyy 阅读(214) 评论(0) 推荐(0) 编辑
摘要: <form method="post" enctype="multipart/form-data" id="file_upload"> <p>图片预览:</p> <div id="test-image-preview"></div> <p> <input type="file" id="test-i 阅读全文
posted @ 2018-11-29 10:10 xyyyy 阅读(882) 评论(0) 推荐(0) 编辑