js与,或,异或 Bitwise Operations A decimal number can be represented as a sequence of bits. To illustrate: 6 = 00000110 23 = 00010111 From the bitwise representation of numbers, we can calculate the bitwis...
打印遇到的一些问题及解决措施 element ui: 2.11.1 操作系统:windows10 问题描述 1.element ui table使用boder模式的时候线条不明显,表头线条会多出来 2.boder线框只显示一部分,呈现断开 解决措施 1.element ui table不使用border模式 2自定义table 线框 最后打印如下图 代码 html片段 <div&...
chrome浏览器设置静默打印(亲测有效) 操作系统:windows10 chrome版本: 76.0.3809.100(正式版本) (32 位) 需求 在浏览器中点击打印按钮(自定义),不需要每次点击chrome的打印预览框,直接开始打印,从而实现可以批量打印。 打开chrome浏览器Url 输入框输入chrome://flags/ 将Enable New Print Preview UI l...
vue组件通信的7种方案 props与$emit 父传子通过props,子传父通过emit,单向数据流(可以结合.sync形成双向数据流) 案例 // 父 <template> <div> <child @changeText="change" :text="text">...
vuepress 结合netify ci 部署到自己的域名 成果展示 效果见:https://interview.suanliutudousi.com vuepress具体的细节本篇就不详细概述了。具体可以参考我之前的文章 https://www.suanliutudousi.com/2019/02/17/vuepress/ 到这里你应该已经写好了vuepress文档。首先这里你应该已经准备好了一...
throw new TypeError('Invalid Version: ' + version); 环境: windows10 npm 6.13.0 node:12.13.0 vue-cli3.x 问题描述 vue项目运行npm run serve的时候跑不起来,报错throw new TypeError('Invalid Version: ' + version); 解决方案 1.如果有pa...
80端口反代多个项目 nginx.con配置文件如下 ... server{ listen 80; server_name test2.suanliutudousi.com; location / { proxy_redirect off; proxy_pass http://localhost:3000; } } ser...
nginx配置文件, Nginx 配置文件nginx.conf中文详解 #定义Nginx运行的用户和用户组 user www www; #nginx进程数,建议设置为等于CPU总核心数。 worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ] error_log /usr/local/nginx...
js易错知识点 , https://quiz.typeofnan.dev/ 做题小结,里面包含了58js题,可以去尝试一下。 newSet去重 const mySet = new Set([{ a: 1 }, { a: 1 }]); const result = […mySet]; console.log(result); //[{a: 1}, {a: 1}] 原因:对象在内存中是不相等的 Obj...
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO) 系统环境 windows:10 mysql:8.0 在安装目下进入的bin中使用 mysql -u root -p 报错ERROR 1045 (28000): Access denied for user 'ODBC'@'localh...