<template slot-scope="scope"> <el-button @click="fileShareDownload(scope.row)" type="text" size="small">下载</el-button> </template>
fileShareDownload(row){ let that = this; var form = $("<form id='form'>" + "<input type='hidden' name='fileId' value='" + row.fileId + "'/>" + "</form>").attr("action", ctx + 'fileDownload').attr("method", "post"); form.insertAfter('body').submit().remove(); },