vue 下载文件

阅读 161

2022-03-10

let _this = this;
                $('<form method="post" target="_blank" action="'+util.ajaxUrl+'/xxxxx" style="display: none;"></form>').appendTo(document.body)
                    .append($('<input type="text" name="id" value="' + _this.pagination.id + '"/>'))
                    .append($('<input type="text" name="type" value="' + _this.pagination.type + '"/>'))
                    .submit()
                    .remove();

精彩评论(0)

0 0 举报