摘要: npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE 【解决】 关掉strict-ssl即可:npm config set strict-ssl false 用完之后恢复:npm config set strict-ssl true ###ERROR comma 阅读全文
posted @ 2021-11-26 17:44 Janie_long 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 设置全局变量 1.封装关键字,关键字中设置全局变量set Suite variable 2.Test Suit中Suite Setup使用关键字 阅读全文
posted @ 2021-09-27 14:44 Janie_long 阅读(55) 评论(0) 推荐(0) 编辑
摘要: yum -y install git yum方式安装源码,但版本很旧 git version 查看git版本 https://github.com/git/git/releases 上github下载最新版本git源码包,上传至服务器/opt/software(这次下载的是2.8.0版本) tar 阅读全文
posted @ 2021-04-28 19:09 Janie_long 阅读(31) 评论(0) 推荐(0) 编辑
摘要: PS D:\vue\vue_shop\src> git push origin Users error: src refspec Users does not match any error: failed to push some refs to 'gitee.com:longzhenling/v 阅读全文
posted @ 2021-02-23 17:22 Janie_long 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 删除用户后重新获取列表数据,列表数据显示为空 async deleteUserById(id) { this.$confirm('此操作将永久删除该用户, 是否继续?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: ' 阅读全文
posted @ 2021-02-22 23:01 Janie_long 阅读(105) 评论(0) 推荐(0) 编辑
摘要: [vue/no-unused-vars] 'scope' is defined but never used.eslint-plugin-vue 意思是声明了scope却没有使用它,这是vue的eslink插件检测的。 解决方案: 1、把vetur的eslint检查关闭 2、修改eslinttrc. 阅读全文
posted @ 2021-02-20 00:20 Janie_long 阅读(1630) 评论(0) 推荐(0) 编辑
摘要: sockjs.js?9be2:1609 GET http://192.168.1.104:8080/sockjs-node/info?t=1613746594141 netERR_CONNECTION_TIMED_OUT错误连接方式解决方法 在使用vue-cli脚手架创建项目的时候,在cnpm cr 阅读全文
posted @ 2021-02-19 23:02 Janie_long 阅读(3333) 评论(0) 推荐(0) 编辑
摘要: 以CentOs为例,详细步骤在mongodb官网,其他版本Linux都可以在官网找到。简单整理一下: 使用vim命令创建repo文件 vim /etc/yum.repos.d/mongodb-org-4.0.repo ,按 i 进入编辑模式,复制(shift+ins)以下内容到该文件中,按 ESC 阅读全文
posted @ 2021-02-19 11:06 Janie_long 阅读(414) 评论(0) 推荐(0) 编辑
摘要: fatal: unable to access 'https://gitee.com/longzhenling/vue_shop.git/': Could not resolve host: gitee.com 问题:git pull origin master 远程提交代码报错 PS D:\vue 阅读全文
posted @ 2021-02-09 15:55 Janie_long 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 1、 nodejs的模块化 每创建一个文件都相当于一个模块,每个文件都是一个作用域,不用担心变量暴露在全局,同时我们引入的时候可以随便采用合适的变量名接受。 node原生模块:path,fs,URL等等。 2、模块缓存? 两次引入同一个文件,结果一样。修改其中一个文件内容,另外引入的那个文件一样被修 阅读全文
posted @ 2021-01-31 18:42 Janie_long 阅读(69) 评论(0) 推荐(0) 编辑