十一删除之后的文件名付空
This commit is contained in:
@@ -682,7 +682,8 @@
|
||||
<a
|
||||
class="filename"
|
||||
:href="urls[j]"
|
||||
>{{filenamearr[j]? filenamearr[j].split('_')[0]+''+(filenamearr[j].split('_')[0].includes('.')?'':'.'+filenamearr[j].split('.')[1]):""}}</a>
|
||||
>
|
||||
{{filenamearr[j]? filenamearr[j].split('_')[0]+''+(filenamearr[j].split('_')[0].includes('.')?'':'.'+filenamearr[j].split('.')[1]):""}}</a>
|
||||
<!-- <a class="filename" :href="urls[j]" >{{filenamearr[j]}}</a> -->
|
||||
<p class="tip">点击上面的+上传文件</p>
|
||||
<div
|
||||
@@ -1439,7 +1440,8 @@ export default {
|
||||
console.log(e);
|
||||
this.ziliaoarr.splice(e, 1);
|
||||
this.name.splice(e, 1);
|
||||
console.log(this.ziliaoarr, 200);
|
||||
|
||||
console.log(this.ziliaoarr,this.filenamearr, 200);
|
||||
},
|
||||
removefile() {
|
||||
console.log("aaa");
|
||||
@@ -1593,6 +1595,8 @@ export default {
|
||||
this.imageUrl7[g] = "";
|
||||
this.ziliaoarr[g] = "";
|
||||
this.filetype[g] = "";
|
||||
this.urls[g] = "";
|
||||
this.filenamearr[g] = '';
|
||||
for (let i in this.filetype) {
|
||||
// console.log(this.filetype[i],"7946")
|
||||
if (this.filetype[i] == "docx" || this.filetype[i] == "doc") {
|
||||
|
||||
Reference in New Issue
Block a user