摘要: 安装命令 npm install -g cnpm --registry=https://registry.npm.taobao.org 使用命令 cnpm install [name] 参考连接 https://zhuanlan.zhihu.com/p/120159632 阅读全文
posted @ 2021-10-29 21:34 胸怀丶若谷 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 报错截图 解决方案 在结尾添加叹号 // 获取页面中food的元素并将其赋值给element this.element = document.getElementById('food')!; 阅读全文
posted @ 2021-10-29 14:42 胸怀丶若谷 阅读(242) 评论(0) 推荐(0) 编辑