10 2021 档案

摘要:安装命令 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 胸怀丶若谷 阅读(158) 评论(0) 推荐(0) 编辑
摘要:报错截图 解决方案 在结尾添加叹号 // 获取页面中food的元素并将其赋值给element this.element = document.getElementById('food')!; 阅读全文
posted @ 2021-10-29 14:42 胸怀丶若谷 阅读(253) 评论(0) 推荐(0) 编辑
摘要:错误原因,我猜测多半是版本问题 在router/index.js中添加如下代码 const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { return orig 阅读全文
posted @ 2021-10-26 20:12 胸怀丶若谷 阅读(297) 评论(0) 推荐(0) 编辑
摘要:创建vue文件模板 打开vscode,文件–>首选项—>用户代码片段,在弹出的搜索框中输入vue,回车 删除原内容,将如下内容粘贴 { "Print to console": { "prefix": "vue", "body": [ "<!-- $1 -->", "<template>", "<di 阅读全文
posted @ 2021-10-26 19:42 胸怀丶若谷 阅读(272) 评论(0) 推荐(0) 编辑
摘要:使用如下代码: background-color="#00000000" 阅读全文
posted @ 2021-10-26 18:48 胸怀丶若谷 阅读(358) 评论(0) 推荐(0) 编辑
摘要:在tsconfg.json文件中添加如下选项 "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ 阅读全文
posted @ 2021-10-26 16:25 胸怀丶若谷 阅读(152) 评论(0) 推荐(0) 编辑
摘要:获取页面宽度和高度 let screenWidth = document.body.clientWidth; let screenHeight = document.documentElement.clientHeight; 阅读全文
posted @ 2021-10-25 18:49 胸怀丶若谷 阅读(148) 评论(0) 推荐(0) 编辑
摘要:初始化 git init 查看配置信息 查看用户名 :git config user.name 查看密码: git config user.password 查看邮箱:git config user.email 查看配置信息: $ git config --list 修改配置信息 修改用户名 git 阅读全文
posted @ 2021-10-22 08:40 胸怀丶若谷 阅读(29) 评论(0) 推荐(0) 编辑
摘要:切换到淘宝源 npm config set registry https://registry.npm.taobao.org 切换回官方源 npm config set registry http://www.npmjs.org 阅读全文
posted @ 2021-10-20 10:13 胸怀丶若谷 阅读(93) 评论(0) 推荐(0) 编辑
摘要:解决方案 get-executionpolicy set-executionpolicy remotesigned 输入Y 至此问题解决 阅读全文
posted @ 2021-10-18 21:13 胸怀丶若谷 阅读(155) 评论(0) 推荐(0) 编辑
摘要:PFSTP 打开该软件,在安装putty自带的 连接服务器 open 192.168.142.131 按提示输入账户密码 传送文件 put C:\Users\13662\nifi-1.13.2-bin.tar.gz /root/nifi-1.13.2-bin.tar.gz 传送文件夹 #文件夹 pu 阅读全文
posted @ 2021-10-13 23:05 胸怀丶若谷 阅读(927) 评论(0) 推荐(0) 编辑
摘要:输入以下命令: yum -y install wget 阅读全文
posted @ 2021-10-13 22:27 胸怀丶若谷 阅读(837) 评论(0) 推荐(0) 编辑
摘要:安装命令: yum install java-1.8.0-openjdk.x86_64 完成后验证命令: java -version 通过yum安装的路径如下所示: /usr/lib/jvm 配置环境变量 vi /etc/profile 在最后添加如下内容 #set java environment 阅读全文
posted @ 2021-10-13 09:55 胸怀丶若谷 阅读(191) 评论(0) 推荐(0) 编辑
摘要:原因 我这里是因为我代码中的方法不存在,我漏写了,后补充上就好了 解决方案 在methods中添加如下代码: // 修改登录状态 changeLoginType(bool){ this.loginType = bool } 阅读全文
posted @ 2021-10-07 19:00 胸怀丶若谷 阅读(428) 评论(0) 推荐(0) 编辑
摘要:解决方案 错误代码如下所示: <router-view @hideBox="hideLoginRegisterBox" @changeUI="changeLoginType"/> 报错如下所示: 修改代码如下: <router-view @hideBox="hideLoginRegisterBox" 阅读全文
posted @ 2021-10-07 18:51 胸怀丶若谷 阅读(1195) 评论(0) 推荐(0) 编辑
摘要:概念 A callback is a function that is passed as an argument to another function and is executed after its parent function has completed. 释义: 回调函数是作为参数传递 阅读全文
posted @ 2021-10-06 12:00 胸怀丶若谷 阅读(37) 评论(0) 推荐(0) 编辑
摘要:下載鏈接 https://zh.snipaste.com/ 阅读全文
posted @ 2021-10-06 11:59 胸怀丶若谷 阅读(24) 评论(0) 推荐(0) 编辑
摘要:原因:在windows系统中git没有获取到ssl证书 解决方案 输入以下命令: git config --global http.sslBackend schannel 之后再执行操作就可以啦 另: 这里主要是因为windows安装git时,自动抓取ssl证书选项没有勾选才导致的。所以小伙伴们再安 阅读全文
posted @ 2021-10-06 11:46 胸怀丶若谷 阅读(986) 评论(0) 推荐(1) 编辑
摘要:原因 main.js文件中没有引入store 解决方案 添加如下代码即可 import store from "./store"; new Vue({ el: '#app', router, store, render: h => h(App) }) 阅读全文
posted @ 2021-10-02 16:18 胸怀丶若谷 阅读(1764) 评论(0) 推荐(0) 编辑

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