b
bg7zag 的博客
cqcqcq,这里是BG7ZAG,会coding的HAM,分享生活趣事、建站技术、前端开发、汽车相关、deepin系统、业余无线电等!73!
bg7zag · 注册于 2026-09-17 · 457 博文 · 0 帖子 · 0 回复
博文 (457) 帖子 (0)
全部 程序开发 HAM 电脑&系统 网站建设 包罗万象 汽车相关 #JavaScript #deepin #Vue #H5学习 #越野路书 #深度操作系统 #小程序 #jQuery #js #docker #Node.js #萝卜报告 #MongoDB #业余无线电 #宝塔 #CSS #Linux #Ajax #window对象 #git #HAM #上传图片 #rust #nginx #深度系统 #凌派 #docker compose #axum #越野路书第九季 #nuxt
利用canvas进行图片压缩
``` <input type="file" name="file" id="upload"> <script> const ACCEPT = ['image/jpg', 'image/png', 'image/jpeg'] const MAXSIZE = 3 * 1024 * 1024 const MAXSIZ...
Vue项目导入导出csv文件
## 导出 ### 安装vue插件papaparse ``` yarn add papaparse ``` ### 插件使用 首先,导出的数据一定得是一个列表,一个对象列表,例如: ``` itemList: [ { name: '红木...
toPinyin uniapp 文字汉字一键转拼音,转简写,转首字母
# toPinyin # uniapp 文字汉字一键转拼音,转简写,转首字母 封装了下使用方法,原作者: [email protected] https://ext.dcloud.net.cn/plugin?id=3294 github: https://gith...
ts车辆VIN码的校验算法
https://blog.bg7zag.com/wp-content/uploads/2020/12/截图录屏_选择区域_20201230150004.png ts版车辆VIN码的校验算法: ``` /* * @Autor: Jason * @Date: 2020-12-30 ...
vue3 vuex4 中使用ts
https://blog.bg7zag.com/wp-content/uploads/2021/01/vuex.png ``` // main.ts import { createApp } from "vue"; import App from "./App.vue"; import store from "....
js导出Excel时长数字或者倒数第二位是e的长数字自动变成科学计数法问题
https://blog.bg7zag.com/wp-content/uploads/2021/06/1622705671-截图_选择区域_20210603153158.png 解决方法: ``` <td style="mso-number-format:'\@';">21053007163...
yarn npm 设置新版淘宝镜像
``` npm config set registry https://registry.npmmirror.com ``` ``` yarn config set registry https://registry.npmmirror.com ```
解决deepin下npm出现Cannot find module 'semver'问题
可以通过安装yarn,再用yarn全局安装npm解决。 ## 安装yarn ``` curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnp...
linux下 nvm使用新版淘宝镜像及设置默认node版本
## 1. 设置新版淘宝镜像 添加一个环境变量即可 ``` vim ~/.bashrc ``` 然后最后新增一行: ``` export NVM_NODEJS_ORG_MIRROR=https://cdn.npmmirror.com/binaries/node...
MongoDB配置账户密码连接报Authentication failed.
当我们MongoDB启用auth认证的时候,程序连接数据库时报 `MongoServerError: Authentication failed.` 但是呢,url、数据库名称、账号、密码都正确,为什么会报这个认证...
« 最新 更多 »