摘要:
公司有个需求需要获取到表格内的偏移量,然后跳转出去后返回回来还要回到原来的位置。如果只是普通的做法就是在mounted添加一个监听事件就行 mounted() { let element = this.$refs.plTable; element.$el.addEventListener("scro 阅读全文
摘要:
function Type(e){ let text = '' switch(e){ case 'application/msword': text = '.doc';break; case 'application/vnd.openxmlformats-officedocument.wordpro 阅读全文