1官网下载.exe文件,本文选择版本为4.5.2 https://opencv.org/releases/ 2 extract到D盘 3 添加环境变量,E:\opencv\build\x64\vc15\bin 4 将E:\opencv\build\x64\vc15\bin中的这两个文件放到C:\Wi ...
分类:
其他好文 时间:
2021-06-06 19:43:10
阅读次数:
0
新建vue.config.js module.exports = { css: { loaderOptions: { sass: { // 全局引入变量和 mixin additionalData: ` @import "@/assets/scss/variable.scss"; @import " ...
分类:
Web程序 时间:
2021-06-06 19:40:33
阅读次数:
0
1、参考文档:https://nodejs.org/dist/latest-v14.x/docs/api/path.html 2、path.basename:获取一个路径中的文件名(默认包含扩展名) path.basename('/foo/bar/baz/asdf/quux.html'); // R ...
分类:
Web程序 时间:
2021-06-06 19:35:28
阅读次数:
0
1.创建一个子组件colNav 2.将创建的子组件中的js文件的Page改成Component,必要 3.在子组件的json文件中,设置"component": true { "usingComponents": {}, "component": true } 4.子组件接收父组件传来的参数,在js ...
分类:
微信 时间:
2021-06-06 19:14:57
阅读次数:
0
相关文件 muduo/net/http/* HttpRequst:http请求类 HttpResponse: http响应类 HttpContext: http协议解析类 HttpServer: http服务器类 作用 解析http请求,用户只需根据http请求类,设置好响应类,http服务器会把响 ...
分类:
Web程序 时间:
2021-06-06 19:11:18
阅读次数:
0
//真数组转伪数组 var obj2 = {0:"张三",1:"李四",length:2}; var arr = []; [].push.apply(arr,obj2); //真数组转伪数组 console.log(arr); //伪数组转真数组 var arr = [].slice().call( ...
分类:
编程语言 时间:
2021-06-06 19:04:18
阅读次数:
0
做爬虫,学技术,需要免费空间,找来找去,找去找来,实在找不到好的。 那次尝试使用三 丰 云,非常好,且没有广告。 不仅免费,并且十分方便,访问速度甚至能超过很大一部分所谓的付费主机,确实很棒! 三 丰 云 https://www.sanfengyun.com ...
分类:
其他好文 时间:
2021-06-06 18:52:44
阅读次数:
0
HTML-JavaScript 01. JavaScript写在哪里 head部分: 用于声明变量,函数,类型,为事件绑定处理函数 body部分: 调用脚本执行 外部脚本: 用于定义函数,类型 执行顺序: 在代码中从上往下 <!DOCTYPE html> <html lang="en"> <head ...
分类:
编程语言 时间:
2021-06-06 18:49:06
阅读次数:
0
可重载的操作符,摘录自c++ primer第四版 表14.1: + - * / % ^ & | ~ ! , = < > <= >= ++ -- << >> == != && || += -= /= %= ^= &= |= *= <<= >>= [] () -> ->* new new [] dele ...
分类:
编程语言 时间:
2021-06-06 18:47:16
阅读次数:
0
location / { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods 'GET,POST'; add_header Access-Control-Allow-Headers 'DN ...
分类:
其他好文 时间:
2021-06-06 18:45:56
阅读次数:
0