06 2020 档案

摘要:概述:template 和 style 跟以前的写法保持一致,只有 script 的变化 Vue三个TS封装库vue-class-component vue-class-component 对 Vue 组件进行了一层封装,让 Vue 组件语法在结合了 TypeScript 语法之后更加扁平化vue- 阅读全文
posted @ 2020-06-16 15:14 zhishaofei3 阅读(1267) 评论(0) 推荐(0)
摘要:1 function copyItem() { 2 const input = document.createElement('input') 3 input.type = 'text' 4 input.value = '' 5 document.body.appendChild(input) 6 阅读全文
posted @ 2020-06-04 16:27 zhishaofei3 阅读(208) 评论(0) 推荐(0)
摘要:I think the explanation from the Mozilla Docs describes it well: You can assign a different this object when calling an existing function. this refers 阅读全文
posted @ 2020-06-04 12:05 zhishaofei3 阅读(171) 评论(0) 推荐(0)