10 2021 档案

摘要:Error in v-on handler: "TypeError: Cannot set property 'form1' of undefined" 这是找不到子组件的data 使用this.$nextTick 其实和定时器有点像,但是比定时器好用,他是能在DOM更新循环之后执行 this.$n 阅读全文
posted @ 2021-10-17 19:40 三线码工 阅读(2033) 评论(0) 推荐(0) 编辑
摘要:Error: No valid exports main found for '/Users/work/company_fc/a/node_modules/colorette 安装依赖的时候遇到提示问题 原因分析: Node版本可能不对 当前Node默认版本是13.6.0。切换到12.14.1版本, 阅读全文
posted @ 2021-10-16 10:27 三线码工 阅读(359) 评论(0) 推荐(0) 编辑
摘要:<view class="button"> <navigator class="refuse" target="miniProgram" open-type="exit">拒绝</navigator> <button open-type="getPhoneNumber" bindgetphonenu 阅读全文
posted @ 2021-10-12 10:27 三线码工 阅读(1156) 评论(0) 推荐(0) 编辑
摘要:在npm安装依赖时node-sass报错一直报错 在接手一个新项目时,在安装依赖老是报错,但是都是node-scss问题。 百度了一下,都是说用淘宝源什么的,我搞了半天都没用。 最终发现node版本得和项目的node-scss版要对应,不然就报错了 看看自己的node版本和 node-scss版本是 阅读全文
posted @ 2021-10-11 17:20 三线码工 阅读(177) 评论(0) 推荐(0) 编辑

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