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

彭维盛

关注

阅读 21

2024-07-24

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)

0 0 举报