将oss文件上传返回的http链接改为https链接
This commit is contained in:
@@ -99,6 +99,12 @@ export default {
|
||||
this.dialogVisible = true;
|
||||
},
|
||||
onExceed(files ) {
|
||||
const file=files[0];
|
||||
const isExe = file.name.endsWith(".exe");
|
||||
if (!isExe) {
|
||||
this.$message.error("只允许上传.exe文件!");
|
||||
return false; // 阻止上传
|
||||
}
|
||||
console.log(files);
|
||||
if(this.limit == 1&&this.fileList.length>0){
|
||||
this.fileList.splice(0,1)
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
<el-table-column label="下载地址" prop="url">
|
||||
<template v-slot="scope">
|
||||
<a class="a" :href="scope.row.url" target="_blank">{{ scope.row.url }}</a>
|
||||
<a class="a" :href="scope.row.url" >{{ scope.row.url }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user