04 2022 档案
摘要:检查电脑防火墙是否关闭 如果关闭了防火墙还是不行 看是否电脑开了vpn代理 记得关闭。 然后重新运行即可。
阅读全文
摘要:composition Api中 watch 问题1: watch监听 引用数据类型 reactive 代理的数据时。 newVal 和 oldVal 值一样,无法正确获得oldVal。 解决办法:将引用数据类型拆分为基本数据类型 , 即通过 ref 代理的数据作为监听源数据。 问题2: watch
阅读全文
摘要:const beforeUpload = file => { var reader = new FileReader(); reader.readAsDataURL(file); //转化二进制流,异步方法 reader.onload = function(){ //完成后this.result为二
阅读全文
摘要:# 使用 npm 安装 CLI $ npm install -g @tarojs/cli # OR 使用 yarn 安装 CLI $ yarn global add @tarojs/cli # OR 安装了 cnpm,使用 cnpm 安装 CLI $ cnpm install -g @tarojs/
阅读全文
摘要:创建附注标签( tag ) $ git tag -a tagName -m "说明" 解释:创建附注标签时,参数-a即annotated的缩写,指定标签类型,后附标签名。参数m指定标签说明,说明信息会保存在标签对象中。 查看 所有创建的 tags $ git tag 推送 创建的 tags $ gi
阅读全文
摘要:以上问题都可以通过下面方式解决原因 缓存导致: 1 、yarn cache clean 2 、rm yarn.lock 3 、rm -rf node_modules/ 4 、yarn 还不行的话: 重置本机git设置 git config --global credential.helper sto
阅读全文