摘要: 思路,用electron监听窗口事件,在监听的回调里,运行C#代码,获取当前电脑的U盘路径,获取到就返回路径,获取不到就返回0 在这里卡了好久,分享出来让大家参考 (环境没必要和我的一样) 我的环境:node 10.2.0 electron 7.3.1 依赖: "electron-edge-js": 阅读全文
posted @ 2020-06-22 18:02 clgGlobal 阅读(2934) 评论(4) 推荐(0) 编辑
摘要: 解决方法:1、取消npm代理设置,输入命令:npm config set proxy null 2、输入命令:npm config set https-proxy null 3、添加淘宝镜像,输入命令:npm --registry https://registry.npm.taobao.org in 阅读全文
posted @ 2023-02-20 10:30 clgGlobal 阅读(535) 评论(0) 推荐(0) 编辑
摘要: var timeout = prompt("设置刷新时间间隔[S]"); var current = location.href; if(timeout > 0) { setTimeout('reload()', 1000 * timeout); } else { location.replace( 阅读全文
posted @ 2022-07-07 18:04 clgGlobal 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 字体加粗 Ctrl + b 字体倾斜 Ctrl + I 下划线 Ctrl + U 标题 Ctrl + h 创建超链接 Ctrl +k 插入代码 Ctrl +shift +c – 无法执行 行内代码 Ctrl + shift + k 插入图片 Ctrl + shift + i 无序列表 Ctrl + 阅读全文
posted @ 2022-05-02 11:46 clgGlobal 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 第一种方法: yum -y install lrzsz 第二种方法: 1、下载安装包lrzsz-0.12.20.tar.gz : http://www.ohse.de/uwe/software/lrzsz.html2、把安装包放到 /usr/local 目录下 3、执行命令:tar zxvf lrz 阅读全文
posted @ 2022-04-17 08:41 clgGlobal 阅读(6739) 评论(0) 推荐(0) 编辑
摘要: 先使用命令ls -i这时候会显示出来节点号 然后使用命令 find -inum 16147 -delete大功告成 阅读全文
posted @ 2022-04-16 21:01 clgGlobal 阅读(35) 评论(0) 推荐(0) 编辑
摘要: UniViewJSBridge.publishHandler('onWxsInvokeCallMethod', { cid: this._$id, method:'onViewClick', args:{test:'test'} }) 参考地址 https://ask.dcloud.net.cn/q 阅读全文
posted @ 2021-12-14 18:08 clgGlobal 阅读(152) 评论(0) 推荐(0) 编辑
摘要: var http = require('http'), // 引入需要的模块 fs = require('fs'), //引入文件读取模块 cp = require('child_process'), // 可自动打开浏览器模块 url = require("url"), path = requir 阅读全文
posted @ 2021-03-30 09:56 clgGlobal 阅读(511) 评论(0) 推荐(0) 编辑
摘要: vue3.0 AST 对象根节点其实是一个虚拟节点,它并不会映射到一个具体节点,另外它还包含了其他的一些属性,这些属性在后续的 AST 转换的过程中会赋值,并在生成代码阶段用到。 那么,为什么要设计一个虚拟节点呢? 因为 Vue.js 3.0 和 Vue.js 2.x 有一个很大的不同——Vue.j 阅读全文
posted @ 2020-12-07 16:32 clgGlobal 阅读(2518) 评论(0) 推荐(0) 编辑
摘要: 为了测试时支付方便,把餐品都设置为了一分钱。苹果审核的时候说app不包括最终内容。记下来以后注意 Your app or its metadata does not appear to include final content. Before you submit your app to the 阅读全文
posted @ 2020-11-11 10:20 clgGlobal 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1、git rm -r --cached "unpackage" //执行删除命令 2、git commit -m "remove ubpackage" //提交 3、git push origin master //提交到远程分支 阅读全文
posted @ 2020-10-01 11:30 clgGlobal 阅读(391) 评论(0) 推荐(0) 编辑