摘要: - 前端进行微信公众号账号绑定 - 相关文档 - 微信开放文档:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html - 公众号管理后台:https:// 阅读全文
posted @ 2020-05-20 17:51 菜蛋 阅读(793) 评论(0) 推荐(0) 编辑
摘要: window.history.back(); // 后退 window.history.forward(); // 前进 window.history.go(-1); // -1:后退一个页面 1:前进一个页面 0:刷新页面 // 1给页面添加一条浏览记录,使url后增加?page=1,并能通过hi 阅读全文
posted @ 2020-05-13 11:05 菜蛋 阅读(842) 评论(0) 推荐(0) 编辑
摘要: 第 1 步:重现错误 找到一系列可一致重现错误的操作始终是调试的第一步。 点击 Open Demo。 演示页面随即在新标签中打开。 OPEN DEMO 在 Number 1 文本框中输入 5。 在 Number 2 文本框中输入 1。 点击 Add Number 1 and Number 2。 按钮 阅读全文
posted @ 2019-08-22 11:17 菜蛋 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 1.安装nodejs和eslint 2.在 webstorm 的 file - setting搜索eslint,配置eslint路径 3.在项目目录下新建.eslintrc文件 4.配置eslint ESLint 的配置分为六大块,分别是: 语法规则(Rules)配置 使用键值对编写,语言规则字段( 阅读全文
posted @ 2019-04-02 10:50 菜蛋 阅读(5549) 评论(0) 推荐(0) 编辑
摘要: 快捷键:http://electronjs.org/docs/api/accelerator 阅读全文
posted @ 2019-03-08 19:21 菜蛋 阅读(2776) 评论(0) 推荐(0) 编辑
摘要: 前提:现在有一个electron项目,等待打包成exe。 一,运行”electron .“,看运行是否正常。不正常则继续调试,正常可进入到第二步。 二,运行“electron-packager . myClient --win --out ../myClient --arch=x64 --app-v 阅读全文
posted @ 2019-03-05 10:56 菜蛋 阅读(2356) 评论(0) 推荐(0) 编辑
摘要: package.josn 阅读全文
posted @ 2019-01-18 11:40 菜蛋 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 一,在https://www.npmjs.com/ 注册一个帐号 二,准备好你的项目 三,开始下图操作 四,打开https://www.npmjs.com/package/caidantest 就可以看到啦 阅读全文
posted @ 2018-11-15 11:26 菜蛋 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 看API,从头细看到尾,在这个过程中一定会找到你要找的东西。 阅读全文
posted @ 2018-08-03 22:35 菜蛋 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 主命令窗口查找: 查找文件窗口,Ctrl+P 搜索变量或者函数(跳转到symbol),Ctrl+Shift+O 跳转到行数,Ctrl + G 代码编辑: 代码行缩进,Ctrl + [ ,Ctrl + ] 代码格式化,Alt + Shift + F 或者先Ctrl+Shift+P后输入Format D 阅读全文
posted @ 2018-07-26 16:11 菜蛋 阅读(2362) 评论(0) 推荐(0) 编辑