摘要:
引入: import Sortable from 'sortablejs'; 声明: sortable: any = null; 初始化: mounted() { const targetDom = this.$refs.table; this.sortable = new Sortable(tar 阅读全文
posted @ 2021-06-07 15:10
鬼鬼丶
阅读(540)
评论(0)
推荐(0)
摘要:
在untils 创建get-files-md5.js文件 import SparkMD5 from 'spark-md5'; export function createFileMd5(file: any) { // const spark = new SparkMD5(); return new 阅读全文
posted @ 2021-06-07 15:03
鬼鬼丶
阅读(264)
评论(0)
推荐(0)
摘要:
onProgress: function(data) { var percent = parseInt(data.percent * 10000) / 100; data.percent = percent; option.onProgress(data); } 阅读全文
posted @ 2021-06-07 14:59
鬼鬼丶
阅读(97)
评论(0)
推荐(0)
摘要:
function getTimes() { var obj_file = document.getElementById("upload"); var content = obj_file.files[0] console.log(content) //获取时长 var url = URL.crea 阅读全文
posted @ 2021-06-07 14:50
鬼鬼丶
阅读(72)
评论(0)
推荐(0)

浙公网安备 33010602011771号