上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 45 下一页
摘要: 声明 windows中不支持Shebang,它是通过文件的扩展名来确定使用什么解释器来执行脚本 参考链接: https://juejin.cn/post/6844903826344902670 阅读全文
posted @ 2021-11-08 11:11 胸怀丶若谷 阅读(382) 评论(0) 推荐(0)
摘要: 错误原因 当第一次使用AD账户进入GitLab时,需要进行密码重置,之后重新登录并进行克隆操作即可。 阅读全文
posted @ 2021-11-02 13:27 胸怀丶若谷 阅读(142) 评论(0) 推荐(0)
摘要: 在设定中对如图所示两项进行修改: 至此问题解决。 阅读全文
posted @ 2021-11-02 08:34 胸怀丶若谷 阅读(93) 评论(0) 推荐(0)
摘要: 错误代码展示 解决方案 将e声明为any类型,如下所示: // 修改蛇的X和Y值 try { this.snake.X = X; this.snake.Y = Y; }catch(e:any){ // 进入到catch,说明出现了异常,游戏结束,弹出一个提示信息 alert(e.message); 阅读全文
posted @ 2021-11-01 15:33 胸怀丶若谷 阅读(3207) 评论(1) 推荐(0)
摘要: 配置 用户设置打开 settings.json 添加如下代码: "fileheader.cursorMode": { }, "fileheader.customMade": { "Author": "Will", // 改成你的名字 "Date": "", // 文件创建时间 "LastEditor 阅读全文
posted @ 2021-11-01 13:50 胸怀丶若谷 阅读(1063) 评论(0) 推荐(0)
摘要: 可视化软件 Git Graph git branch --set-upstream 本地关联远程分支 git branch --set-upstream-to=origin/remote_branch your_branch 参考链接 https://www.cnblogs.com/zhou-cha 阅读全文
posted @ 2021-11-01 09:36 胸怀丶若谷 阅读(289) 评论(0) 推荐(0)
摘要: 安装命令 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 胸怀丶若谷 阅读(184) 评论(0) 推荐(0)
摘要: 报错截图 解决方案 在结尾添加叹号 // 获取页面中food的元素并将其赋值给element this.element = document.getElementById('food')!; 阅读全文
posted @ 2021-10-29 14:42 胸怀丶若谷 阅读(270) 评论(0) 推荐(0)
摘要: 错误原因,我猜测多半是版本问题 在router/index.js中添加如下代码 const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { return orig 阅读全文
posted @ 2021-10-26 20:12 胸怀丶若谷 阅读(311) 评论(0) 推荐(0)
摘要: 创建vue文件模板 打开vscode,文件–>首选项—>用户代码片段,在弹出的搜索框中输入vue,回车 删除原内容,将如下内容粘贴 { "Print to console": { "prefix": "vue", "body": [ "<!-- $1 -->", "<template>", "<di 阅读全文
posted @ 2021-10-26 19:42 胸怀丶若谷 阅读(287) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 45 下一页