pdf路径修改
This commit is contained in:
parent
5304b967a8
commit
2f9ce36556
|
|
@ -62,7 +62,7 @@ function setParams(params) {
|
|||
} else if (file.ext === 'xls' || file.ext === 'xlsx') {
|
||||
img = '../../../images/xlsx.png';
|
||||
} else if (file.ext === 'pdf') {
|
||||
img = '../../../images/PDF.png';
|
||||
img = '../../../images/pdf.png';
|
||||
} else {
|
||||
return '<img class="img" style="width: 130px;height: 120px;" data-index=' + index + ' data-name=' + file.name + ' src=' + result + '>';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ function handleFileType(index, file, result) {
|
|||
} else if (file.ext === 'xls' || file.ext === 'xlsx') {
|
||||
img = '../../../images/xlsx.png';
|
||||
} else if (file.ext === 'pdf') {
|
||||
img = '../../../images/PDF.png';
|
||||
img = '../../../images/pdf.png';
|
||||
} else {
|
||||
return '<img class="img" style="width: 130px;height: 120px;" data-index=' + index + ' data-name=' + file.name + ' src=' + result + '>';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ function handleFileType(index, file, result) {
|
|||
} else if (file.ext === 'xls' || file.ext === 'xlsx') {
|
||||
img = '../../../images/xlsx.png';
|
||||
} else if (file.ext === 'pdf') {
|
||||
img = '../../../images/PDF.png';
|
||||
img = '../../../images/pdf.png';
|
||||
} else {
|
||||
return '<img class="img" style="width: 130px;height: 120px;" data-index=' + index + ' data-name=' + file.name + ' src=' + result + '>';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ function handleFileType(index, file, result) {
|
|||
} else if (file.ext === 'xls' || file.ext === 'xlsx') {
|
||||
img = '../../../images/xlsx.png';
|
||||
} else if (file.ext === 'pdf') {
|
||||
img = '../../../images/PDF.png';
|
||||
img = '../../../images/pdf.png';
|
||||
} else {
|
||||
return '<img class="img" style="width: 130px;height: 120px;" data-index=' + index + ' data-name=' + file.name + ' src=' + result + '>';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ function handleFileType(index, file, result) {
|
|||
} else if (file.ext === 'xls' || file.ext === 'xlsx') {
|
||||
img = '../../../images/xlsx.png';
|
||||
} else if (file.ext === 'pdf') {
|
||||
img = '../../../images/PDF.png';
|
||||
img = '../../../images/pdf.png';
|
||||
} else {
|
||||
return '<img class="img" style="width: 130px;height: 120px;" data-index=' + index + ' data-name=' + file.name + ' src=' + result + '>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue