摘要:
// 数据流处理 let blobType = switchType(fileFmt); const blob = new Blob([result.data],{ type: blobType }); let blobURL= window.URL.createObjectURL(blob); w 阅读全文
摘要:
//重新设置根元素的fontSize function resetRootSize(val) { let percentage = [0.8, 1, 1.2]; let fontSizeVal = parseInt( (2 * Math.min(document.documentElement.cl 阅读全文
摘要:
1.折叠/展开所有代码: 折叠:Ctrl+K Ctrl+0 展开: Ctrl+K Ctrl+J 2.折叠/展开部分代码 折叠: Ctrl+Shift+[ 展开: Ctrl+Shift+] 3.折叠/展开所有子区域 折叠:Ctrl+K Ctrl+[ 展开:Ctrl+K Ctrl+] 阅读全文
摘要:
this的指向,是在函数被调用的时候确定的。也就是执行上下文被创建时确定的。 阅读全文