导出插件file-saver.js
可以将blob数据类型导出成图片、记事本txt,也可以将table、json导出成excel。 官网:https://github.com/eligrey/FileSaver.js 在线演示:https://www.jq22.com/jquery-info11353 table导出成excel案例: npm install file-saver --save npm ins…
394 2023-02-17 去围观jsonwebtoken报错server error TypeError: Right-hand side of 'instanceof' is not an object
解决方法: jsonwebtoken@9.0.0版本环境必须是 "required": { "npm": ">=6", "node": ">=12" }, https://stackoverflow.com/questions/74907805/right-hand-side-of-instanceof-is-not-an-object-jsonwebtoken
402 2023-02-15 去围观群辉nas搭建git个人服务器
1,安装git服务器 2,创建用来存放git仓库的共享目录 3,创建用来使用git的普通用户 4,设置 Git Server ,允许刚创建的用户访问 Git Server 5,打开NAS的家目录,并允许使用SSL连接 …
412 2023-02-13 去围观gulp[45012]: src\node_contextify.cc:633: Assertion `args[1]->IsString()' failed.
gulp[45012]: src\node_contextify.cc:633: Assertion `args[1]->IsString()' failed. 解决方法 不要使用改成10.0.0及以上版本的node,可以选择使用8.11.2版本的node。 如果确实有需要去使用高版本的node,可以选择nodejs的多版本管理工具,方便切换不停版本…
324 2023-02-08 去围观关闭禁用eslint
1、package.json关闭eslint "eslintConfig": { "root": true,此项是用来告诉eslint找当前配置文件不能往父级查找 "env": { "node": true//此项指定环境的全局变量,下面的配置指定为node环境 }, "extends": [// 此项是用来配置vue.js…
456 2023-02-03 去围观