随笔分类 - JavaScript
摘要:const MAX = Number.MAX_SAFE_INTEGER; const MIN = Number.MIN_SAFE_INTEGER; const intLen = `${MAX}`.length - 1; /** * @Description: 判断输入的数字是否在javascript
阅读全文
摘要:element.scrollIntoView() 参数默认为true1.什么是scrollIntoView?scrollIntoView是一个与页面(容器)滚动相关的API 2.如何调用?element.scrollIntoView() 参数默认为true参数为true:调用该函数,页面发送滚动,使
阅读全文
摘要:实现效果:可得到三种录音数据,pcm,wav,mp3 等 官方api入口:点我(网不好的童鞋可以看最下面的api截图) 官方案例入口:点我 官方源码git入口:点我 一:安装插件 js-audio-recorder cnpm i js-audio-recorder --s 二:安装将格式转换为mp3
阅读全文
摘要:查看代码 import axiox from 'axios' import store from "@/store"; import utils from "@/utils"; import Qs from 'qs' import { Message } from "element-ui"; con
阅读全文
摘要:SparkMD5工具 查看代码 /* SparkMD5 - https://github.com/satazor/js-spark-md5 */ /* SparkMD5 - https://codechina.csdn.net/mirrors/satazor/js-spark-md5/-/blob/
阅读全文
摘要:// import {singleFileDownload} from '@/utils/downloads' import cryptoJs from 'crypto-js' import { Message } from "element-ui"; /** * @description 本地存储
阅读全文
摘要:import JSZip from "jszip"; import fileSaver from "file-saver"; import axios from 'axios' import { Message, Notification } from "element-ui"; //下载单个文件
阅读全文

浙公网安备 33010602011771号