|
@@ -104,9 +104,11 @@
|
|
|
<el-table-column prop="indate" label="上传时间" width="200" align="center" sortable></el-table-column>
|
|
|
<el-table-column label="操作" width="220" align="center" sortable>
|
|
|
<template slot-scope="scope" v-if="download == 1">
|
|
|
- <el-button size="small" @click="dowloadFile(scope.row.id)">
|
|
|
- <a :href="scope.row.url" :download="scope.row.fileName">下载</a>
|
|
|
- </el-button>
|
|
|
+ <a :href="scope.row.url" :download="scope.row.fileName">
|
|
|
+ <el-button size="small" @click="dowloadFile(scope.row.id)">
|
|
|
+ 下载
|
|
|
+ </el-button>
|
|
|
+ </a>
|
|
|
<el-button size="small" type="danger" @click="fileDel(scope.row.id)" v-if="scope.row.uploaderId == user.id">删除</el-button>
|
|
|
</template>
|
|
|
<template slot-scope="scope" v-else>
|