摘要: 1、HTML <template> <div class="body" :style="{height:height + 'px'}" @touchmove.prevent> <div class="canvas" ref="canvas"> </div> <div class="bottom"> 阅读全文
posted @ 2022-04-01 11:05 请再检查一遍代码 阅读(1040) 评论(0) 推荐(0)
摘要: list = Object.values(list) list.push(avg, total); list = Object.values(list) list.push(avg, total); 阅读全文
posted @ 2019-12-12 10:57 请再检查一遍代码 阅读(499) 评论(0) 推荐(0)
摘要: js: function bubbleSort(a, fn) { for (var i = a.length - 1; i >= 1; i--) for (var j = 0; j < i; j++) if (fn(a[j], a[j + 1])) swapArray(a, j, j + 1); r 阅读全文
posted @ 2019-08-13 15:07 请再检查一遍代码 阅读(1953) 评论(0) 推荐(0)
摘要: let arr = [3,2,4,1,8,6] let maxValue = Math.max.apply(null,arr); console.log(maxValue); 阅读全文
posted @ 2019-08-13 14:58 请再检查一遍代码 阅读(230) 评论(0) 推荐(0)
摘要: 例如: let a=[1,2,3]; let b=[4,5,6] 第一种方法 let c = a.concat(b); 第二种方法 for(let i in b){ a.push(b[i]) } 第三种办法 a.push.apply(a,b); 第四种办法 var newA = [...a,...b 阅读全文
posted @ 2019-08-13 14:55 请再检查一遍代码 阅读(30720) 评论(0) 推荐(0)
摘要: //低版本浏览器提示 if(navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion .split(";")[1].replace(/[ ]/g,"")=="MSIE6.0") { alert("您正在使用低 阅读全文
posted @ 2019-08-13 14:45 请再检查一遍代码 阅读(573) 评论(0) 推荐(0)
摘要: https://smallpdf.com/cn/pdf-to-ppt 阅读全文
posted @ 2019-08-13 14:44 请再检查一遍代码 阅读(213) 评论(0) 推荐(0)
摘要: test: function () { let param = { Channel: "H5", ProductId: this.productId, Version: 70100 }; console.log(2); let url = "xxxxx"; return new Promise((r 阅读全文
posted @ 2019-08-13 14:43 请再检查一遍代码 阅读(285) 评论(0) 推荐(0)
摘要: <el-form-item label="名称1:"> <el-input v-model="form.title" placeholder=""></el-input> </el-form-item> <el-form-item label="名称2:"> <el-input v-model="f 阅读全文
posted @ 2019-08-13 11:58 请再检查一遍代码 阅读(5846) 评论(0) 推荐(0)