当前位置:网站首页>Receive incoming files and download (simple usage) a tag

Receive incoming files and download (simple usage) a tag

2022-06-23 04:50:00 No French fries

 Insert picture description here
Click the download icon to download

<el-descriptions class="margin-top" title=" Bordered list " :column="3" :size="size" border>
      <el-descriptions-item v-for="(items, index) in tableData" :key="index">
        <template slot="label">
          <i class="el-icon-document"></i>
          {
   { items }}
        </template>
        <a :href="fileLink + items"><i class="el-icon-download" /></a>
      </el-descriptions-item>
</el-descriptions>
methods: {
    
    downloadStatement () {
    
      console.log(this.valuetime)
      this.$axios.get(`********/report_form/${
      this.valuetime}`).then((res) => {
    
        this.tableData = res.data

      }).catch(error => {
    
        this.$message.error(' Failed to get message , Please check the service ')
      })
    }
}
原网站

版权声明
本文为[No French fries]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230024441172.html