![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VUE
0阿花1
程序猿
展开
-
VUE框架POST请求下载方法
const url = '/server/excel/export-excel?type='+this.uploadData.type; const form = document.createElement('form') form.id = "downloadform" form.style.display = 'none' //将表单隐藏 form.target = '' form.method = 'post' ...原创 2020-12-01 16:07:54 · 774 阅读 · 0 评论 -
vue跳转滚动条返回顶部
//窗口滚动条返回顶部 window.scrollTo(0,0); //组件父节点(<div class="indexRight">)DIV滚动条返回顶部 this.$el.parentNode.scrollTop = 0;原创 2018-10-20 15:43:24 · 3521 阅读 · 0 评论