法
法丝 的博客
cqcqcq,这里是BG7ZAG,会coding的HAM,分享生活趣事、建站技术、前端开发、汽车相关、deepin系统、业余无线电等!73!
主页
帖子
博客广场
站点首页
最新博文
利用canvas进行图片压缩
<input type="file" name="file" id="upload"> <script> const ACCEPT = ['image/jpg', 'image/png', 'image/jpeg'] const MAXSIZE = 3 1024 1024 const MAXSIZE_STR = ...
2026-09-17
👁 15
💬 0
canvas
图片压缩
Vue项目导入导出csv文件
导出 安装vue插件papaparse yarn add papaparse 插件使用 首先,导出的数据一定得是一个列表,一个对象列表,例如: itemList: [ { name: '红木', type: 'P000001', pri...
2026-09-17
👁 9
💬 0
toPinyin uniapp 文字汉字一键转拼音,转简写,转首字母
toPinyin uniapp 文字汉字一键转拼音,转简写,转首字母 封装了下使用方法,原作者:
[email protected]
https://ext.dcloud.net.cn/plugin?id=3294 github: https://github.c...
2026-09-17
👁 9
💬 0
toPinyin
uniapp
汉字转拼音
首字母
ts车辆VIN码的校验算法
https://blog.bg7zag.com/wp-content/uploads/2020/12/截图录屏_选择区域_20201230150004.png ts版车辆VIN码的校验算法: /* @Autor: Jason @Date: 2020-12-30 14:36:48...
2026-09-17
👁 16
💬 0
JavaScript校验vin
ts
vin
vin校验
车辆vin码
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 "./sto...
2026-09-17
👁 16
💬 0
ts
typescript
vue4
vuex
vuex4
js导出Excel时长数字或者倒数第二位是e的长数字自动变成科学计数法问题
https://blog.bg7zag.com/wp-content/uploads/2021/06/1622705671-截图_选择区域_20210603153158.png 解决方法: <td style="mso-number-format:'\@';">210530071635670...
2026-09-17
👁 16
💬 0
Excel
js
js导出
科学计数法
yarn npm 设置新版淘宝镜像
npm config set registry https://registry.npmmirror.com yarn config set registry https://registry.npmmirror.com
2026-09-17
👁 17
💬 0
npm
npmmirror
yarn
淘宝镜像
解决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.yarnpkg.com/de...
2026-09-17
👁 15
💬 0
deepin
node
npm
semver
linux下 nvm使用新版淘宝镜像及设置默认node版本
设置新版淘宝镜像 添加一个环境变量即可 vim ~/.bashrc 然后最后新增一行: export NVM_NODEJS_ORG_MIRROR=https://cdn.npmmirror.com/binaries/node 最后保存 :wq 使之...
2026-09-17
👁 16
💬 0
Linux
node
nvm
淘宝镜像
MongoDB配置账户密码连接报Authentication failed.
当我们MongoDB启用auth认证的时候,程序连接数据库时报 MongoServerError: Authentication failed. 但是呢,url、数据库名称、账号、密码都正确,为什么会报这个认证错...
2026-09-17
👁 14
💬 0
Authentication faile
authSource
auth认证
Mongo
MongoDB
« 最新
更多 »
法丝 的博客
博客广场
站点首页
© 2026 法丝 的博客 · Powered by 678PDF