06 2021 档案
摘要:let development = process.env.NODE_ENV == 'development' ? true : false;
阅读全文
摘要:引入: import Sortable from 'sortablejs'; 声明: sortable: any = null; 初始化: mounted() { const targetDom = this.$refs.table; this.sortable = new Sortable(tar
阅读全文
摘要:在untils 创建get-files-md5.js文件 import SparkMD5 from 'spark-md5'; export function createFileMd5(file: any) { // const spark = new SparkMD5(); return new
阅读全文
摘要:onProgress: function(data) { var percent = parseInt(data.percent * 10000) / 100; data.percent = percent; option.onProgress(data); }
阅读全文
摘要:function getTimes() { var obj_file = document.getElementById("upload"); var content = obj_file.files[0] console.log(content) //获取时长 var url = URL.crea
阅读全文

浙公网安备 33010602011771号