master
xhj 2 months ago
parent 11f3ee8188
commit 9f545d4541

@ -1151,6 +1151,13 @@ export default {
this.tableupload.sort((a,b)=>{ this.tableupload.sort((a,b)=>{
return( a.sort - b.sort) return( a.sort - b.sort)
}) })
}else if (file.name.includes('.xls')|| file.name.includes('.xlsx') || file.name.includes('.cvs') ){
this.tltList2.push(file)
let a={czbh:'',ph:'',type:"",stype:"其他文件",name:file.name,sort:9}
this.tableupload.push(a);
this.tableupload.sort((a,b)=>{
return( a.sort - b.sort)
})
} }
this.tableupload.sort((a,b)=>{ this.tableupload.sort((a,b)=>{
//return( a[age] - b[age]) //return( a[age] - b[age])

Loading…
Cancel
Save