上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: //防止页面后退 history.pushState(null, null, document.URL); window.addEventListener('popstate', function () { history.pushState(null, null, document.URL); } 阅读全文
posted @ 2022-06-30 15:36 Action_swt 阅读(782) 评论(0) 推荐(0)
摘要: https://www.macwk.com/soft/network 阅读全文
posted @ 2022-06-14 10:40 Action_swt 阅读(26) 评论(0) 推荐(0)
摘要: /** * 防止重覆点击 * @param timer callBack * @returns 自执行函数 */ declare global { interface Window { lastTime: any } } export const preventCliks = (callBack: 阅读全文
posted @ 2022-06-13 19:00 Action_swt 阅读(65) 评论(0) 推荐(0)
摘要: background: rgba(0, 0, 0, 0.6) -webkit-backdrop-filter: blur(3px) backdrop-filter: blur(3px) 效果: 阅读全文
posted @ 2022-05-19 12:38 Action_swt 阅读(52) 评论(0) 推荐(0)
摘要: 检查电脑防火墙是否关闭 如果关闭了防火墙还是不行 看是否电脑开了vpn代理 记得关闭。 然后重新运行即可。 阅读全文
posted @ 2022-04-13 23:27 Action_swt 阅读(296) 评论(0) 推荐(0)
摘要: composition Api中 watch 问题1: watch监听 引用数据类型 reactive 代理的数据时。 newVal 和 oldVal 值一样,无法正确获得oldVal。 解决办法:将引用数据类型拆分为基本数据类型 , 即通过 ref 代理的数据作为监听源数据。 问题2: watch 阅读全文
posted @ 2022-04-08 00:10 Action_swt 阅读(51) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-04-07 22:52 Action_swt 阅读(20) 评论(0) 推荐(0)
摘要: const beforeUpload = file => { var reader = new FileReader(); reader.readAsDataURL(file); //转化二进制流,异步方法 reader.onload = function(){ //完成后this.result为二 阅读全文
posted @ 2022-04-07 16:34 Action_swt 阅读(3336) 评论(0) 推荐(0)
摘要: # 使用 npm 安装 CLI $ npm install -g @tarojs/cli # OR 使用 yarn 安装 CLI $ yarn global add @tarojs/cli # OR 安装了 cnpm,使用 cnpm 安装 CLI $ cnpm install -g @tarojs/ 阅读全文
posted @ 2022-04-06 23:41 Action_swt 阅读(246) 评论(0) 推荐(0)
摘要: 创建附注标签( tag ) $ git tag -a tagName -m "说明" 解释:创建附注标签时,参数-a即annotated的缩写,指定标签类型,后附标签名。参数m指定标签说明,说明信息会保存在标签对象中。 查看 所有创建的 tags $ git tag 推送 创建的 tags $ gi 阅读全文
posted @ 2022-04-02 15:07 Action_swt 阅读(46) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 19 下一页