ts类型与vue3知识

类型
HTMLElement:

 const dragDom = document.querySelector('.el-dialog') as HTMLElement
 const dialogHeaderEl = document.querySelector('.el-dialog__header') as HTMLElement

你可能感兴趣的:(vue.js)