随笔分类 -  js

摘要:QT 服务端代码: .h #ifndef LOCALSERVER_H #define LOCALSERVER_H #include <QObject> #include <QtNetwork> class LocalServer : public QObject { Q_OBJECT public: 阅读全文
posted @ 2020-07-08 11:47 一夜梦想 阅读(510) 评论(0) 推荐(0) 编辑
摘要:main.js worker.js 阅读全文
posted @ 2019-09-27 14:51 一夜梦想 阅读(907) 评论(2) 推荐(0) 编辑
摘要:myChart.dispatchAction({ type: "takeGlobalCursor", key: 'dataZoomSelect', dataZoomSelectActive: true }); 阅读全文
posted @ 2018-11-07 17:24 一夜梦想 阅读(1715) 评论(0) 推荐(0) 编辑
摘要:myChart.dispatchAction({ type: 'takeGlobalCursor', key: 'brush', brushOption:{ brushType: 'lineX' } }); 阅读全文
posted @ 2018-08-15 19:56 一夜梦想 阅读(713) 评论(0) 推荐(0) 编辑
摘要:dataZoom : [{ type: 'slider', xAxisIndex: 0, show: false, //不显示滚动条 }, { type: 'slider', yAxisIndex: 0, show... 阅读全文
posted @ 2018-08-13 16:53 一夜梦想 阅读(1558) 评论(0) 推荐(0) 编辑
摘要:开始、暂停、停止 Start Pause Stop 阅读全文
posted @ 2018-04-24 10:38 一夜梦想 阅读(7242) 评论(0) 推荐(0) 编辑
摘要:1、配置 2、particles.js 阅读全文
posted @ 2018-01-18 16:44 一夜梦想 阅读(921) 评论(0) 推荐(1) 编辑
摘要:const childProcess = require('child_process'); const exec = childProcess.exec function viewProcessMessage (name, cb) { let cmd = process.platform === 'win32' ? 'tasklist' : 'ps aux' exec(cmd, fu... 阅读全文
posted @ 2017-12-28 11:22 一夜梦想 阅读(5158) 评论(0) 推荐(0) 编辑
摘要:vuejs日历 上年 上月 {{year}}-{{month}} 下月 下年 {{weeks[i - 1][1]}} ... 阅读全文
posted @ 2017-10-14 16:32 一夜梦想 阅读(395) 评论(0) 推荐(0) 编辑
摘要:修改ionic.bundle.js 阅读全文
posted @ 2017-08-24 10:23 一夜梦想 阅读(260) 评论(0) 推荐(0) 编辑
摘要:var bankcardList = [{ bankName: "中国邮政储蓄银行", bankCode: "PSBC", patterns: [{ reg: /^(621096|621098|622150|622151|622181|622188|622199|955100|621095|620062|621285|621798|621799|621797|... 阅读全文
posted @ 2017-08-19 09:57 一夜梦想 阅读(16051) 评论(9) 推荐(2) 编辑
摘要:function formatNum(num) { num=(num+'').match(/^(?:\s*)(\-?\d+)(\.(\d+))?(?:\s*)$/); if(!num)return ''; var int=num[1].split(''); for(var i=int.length; 阅读全文
posted @ 2017-08-19 09:51 一夜梦想 阅读(253) 评论(0) 推荐(0) 编辑
摘要:1、创建package.json 2、创建index.js 3、创建app.js 4、创建www.js 5、安装node模块 6、node www.js运行服务器 阅读全文
posted @ 2017-08-05 10:06 一夜梦想 阅读(433) 评论(0) 推荐(0) 编辑
摘要:生成了三个文件:private.pem: 私钥、csr.pem: CSR证书签名、file.crt: 证书文件。 创建 : package.json npm install 安装 node_modules node启动服务 阅读全文
posted @ 2017-08-05 09:49 一夜梦想 阅读(3332) 评论(0) 推荐(0) 编辑
摘要:1 var uploader = new plupload.Uploader({ 2 3 runtimes: 'html5,flash,silverlight,html4',//用来指定上传方式,指定多个上传方式请使用逗号隔开。 4 browse_button: 'browse',//触发文件选择对话框的按钮,为那个元素id 5 container: contain... 阅读全文
posted @ 2017-08-04 17:22 一夜梦想 阅读(2553) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示