摘要:
let element = document.getElementById('pic') html2canvas(element).then(canvas => { let layer_pic = canvas.toDataURL('image/png') let byteCharacters = 阅读全文
摘要:
async export_data() { let zip = new JSZip() // 下载文件并添加到 ZIP for (const i of this.tableData) { const data = await fetch(i.path).then(response => respon 阅读全文
摘要:
<template> <div> <el-upload ref="upload" class="upload-demo" action="#" accept="xlsx,xls" multiple :limit="1" :auto-upload="false" :withCredentials="f 阅读全文
摘要:
上面官网在线安装命令有问题,会提示重复安装,用下面这个命令 curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh 1Pa 阅读全文
摘要:
1.更新包 sudo apt update 2.安装MySQL的apt配置工具 wget https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb apt install gnupg dpkg -i mysql-apt-config_0. 阅读全文
摘要:
1.更新包 sudo apt update 2.安装nginx sudo apt install nginx 3.安装后路径 // 查看安装路径 whereis nginx // nginx.conf路径 /etc/nginx // html路径 /usr/share/nginx/html 4.常用 阅读全文
摘要:
1.进入 .bashrc 里 vi ~/.bashrc 2. o键新开一行增加下面内容 export NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist 3.重载nvm配置 source ~/.bashrc 4.验证配置是否修改成功,如图则表示成功 echo 阅读全文
摘要:
1.更新包 sudo apt update 2.安装nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash 3.关闭并重新打开终端或者运行以下命令来启用nvm: export NVM_DI 阅读全文
摘要:
PS:mysql-v8.x不支持原先的权限修改方式了,需要先创建再分配才行 mysql -u root -p #先登录 SELECT user,host FROM mysql.user; #看下当前的权限 CREATE USER 'your_name'@'%' IDENTIFIED BY 'your 阅读全文
摘要:
参考地址:https://segmentfault.com/a/1190000045160704 阅读全文