0
点赞
收藏
分享

微信扫一扫

jenkins系列-04-jenkins参数化构建

彭维盛 2024-07-24 阅读 21
前端excel

1.excel上传到public目录下

在这里插入图片描述

2.代码中引用excel路径

<el-space direction="horizontal" size="small">
        <el-button @click="handleChangePage">刷新列表</el-button>
        <el-button type="primary" @click="handleBatchUpload">批量上传</el-button>
        <a :href="templateUrl" download="阿里巴巴全链接表_模版.xlsx">
          <el-button type="info">下载 Excel 模板</el-button>
        </a>
      </el-space>

const templateUrl = '/public/阿里巴巴全链接表_模版.xlsx'
举报

相关推荐

0 条评论