|
@@ -75,14 +75,14 @@
|
|
|
|
|
|
|
|
<el-tooltip effect="dark" placement="top" content="提交到资源库">
|
|
<el-tooltip effect="dark" placement="top" content="提交到资源库">
|
|
|
<SvgIcon
|
|
<SvgIcon
|
|
|
- v-if="isEnable(projectResourcePopedom.is_can_upload) && canEditName && file.file_id"
|
|
|
|
|
|
|
+ v-if="isEnable(projectResourcePopedom.is_can_upload) && file.file_id"
|
|
|
icon-class="upload"
|
|
icon-class="upload"
|
|
|
@click="addResource(file)"
|
|
@click="addResource(file)"
|
|
|
/>
|
|
/>
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
|
|
|
|
|
<SvgIcon
|
|
<SvgIcon
|
|
|
- v-if="isEnable(projectResourcePopedom.is_can_download) && canEditName && file.file_id"
|
|
|
|
|
|
|
+ v-if="isEnable(projectResourcePopedom.is_can_download) && file.file_id"
|
|
|
icon-class="download"
|
|
icon-class="download"
|
|
|
@click="downLoad(file)"
|
|
@click="downLoad(file)"
|
|
|
/>
|
|
/>
|
|
@@ -274,7 +274,7 @@ export default {
|
|
|
this.$message.warning(
|
|
this.$message.warning(
|
|
|
`当前限制选择 ${this.limit} 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
|
|
`当前限制选择 ${this.limit} 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
|
|
|
files.length + this.content.file_list.length
|
|
files.length + this.content.file_list.length
|
|
|
- } 个文件`
|
|
|
|
|
|
|
+ } 个文件`,
|
|
|
);
|
|
);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
@@ -285,7 +285,7 @@ export default {
|
|
|
this.$message.warning(
|
|
this.$message.warning(
|
|
|
`当前限制选择 ${this.limit} 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
|
|
`当前限制选择 ${this.limit} 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
|
|
|
files.length + fileList.length
|
|
files.length + fileList.length
|
|
|
- } 个文件`
|
|
|
|
|
|
|
+ } 个文件`,
|
|
|
);
|
|
);
|
|
|
},
|
|
},
|
|
|
|
|
|