摘要: 要将Debian的apt源设置为国内镜像,可以按照以下步骤进行操作: 1备份原始的apt源配置文件: cp /etc/apt/sources.list /etc/apt/sources.list.bak 2编辑apt源配置文件,将原有的源地址替换为国内镜像源地址。以下是一些常见的国内镜像源地址: 阿 阅读全文
posted @ 2024-01-18 15:58 RoarInWind 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 要设置apt国内镜像,可以按照以下步骤进行操作: 1备份原始的apt源配置文件: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2清空原始的apt源配置文件: sudo sh -c 'echo "" > /etc/apt/source 阅读全文
posted @ 2024-01-18 15:48 RoarInWind 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 错误提示: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on you right now (man-in-the-middle attack)!It is also possi 阅读全文
posted @ 2023-11-14 15:41 RoarInWind 阅读(48) 评论(0) 推荐(0) 编辑
摘要: remote: Powered by GITEE.COM [GNK-6.4]remote: error: GE007: Your push would publish a private email address.remote: You can make your email public or 阅读全文
posted @ 2023-11-14 15:13 RoarInWind 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1、在控制台输入命令:npm config get registry 输出默认地址为:https://registry.npmjs.org/ 2、修改为阿里镜像地址命令:npm config set registry https://registry.npmmirror.com/ 之后再用第一步的命 阅读全文
posted @ 2022-06-10 10:32 RoarInWind 阅读(4688) 评论(0) 推荐(0) 编辑
摘要: el-table展示属性data为一个数组,单选多选结果为row或者[row]数组selection。单选多选的结果中的一条row数据对应data[x]。则有data[x] = row 根据数据的一致性,猜测scope.row相同 阅读全文
posted @ 2021-09-10 17:26 RoarInWind 阅读(204) 评论(0) 推荐(0) 编辑
摘要: elementUI分页el-pagination组件有两个重要的事件current-change和size-change 官方文档标识 事件名称 说明回调参数 size-change pageSize 改变时会触发 每页条数 current-change currentPage 改变时会触发 当前页 阅读全文
posted @ 2021-06-30 16:08 RoarInWind 阅读(8576) 评论(0) 推荐(0) 编辑
摘要: 在js调试时,会遇到Uncaught SyntaxError: Unexpected token o in JSON at position 1问题 obj = JSON.parse(str); 此错误一般是由JSON.parse()引起,代码如上,原因一般为str实际是一个对象,而不是字符串 解决 阅读全文
posted @ 2021-06-08 12:14 RoarInWind 阅读(1927) 评论(0) 推荐(0) 编辑
摘要: 本文为自己理解js原型链和继承链关系所写。 1.在JS里,万物皆对象。对象皆有实例属性__proto__,(在chrome中标记为[[Prototype]])称为隐式原型,对应一个指针,指向一个特殊的对象(原型对象,即继承的对象,暂时可简单理解为父对象),__proto__保证了实例对象能够访问在构 阅读全文
posted @ 2021-05-27 13:12 RoarInWind 阅读(210) 评论(0) 推荐(0) 编辑
摘要: js中,call()函数用于改变this的指向 在function.call(target)中,function调用call时,function中的this会改变为指向target。以下几个例子将体会call的用法 1.target调用其他对象的方法 下例中 代码cat1.say.call(dog2 阅读全文
posted @ 2021-05-23 17:14 RoarInWind 阅读(840) 评论(0) 推荐(0) 编辑