diff --git a/src/views/dashboard/search/AdvancedSearch.vue b/src/views/dashboard/search/AdvancedSearch.vue index 2bc7cbc1..14fa53e1 100644 --- a/src/views/dashboard/search/AdvancedSearch.vue +++ b/src/views/dashboard/search/AdvancedSearch.vue @@ -376,7 +376,7 @@ export default { if (suffix === 'pdf') { pdfFileList.push({ id, name, suffix }) } - if (suffix === 'docx') { + if (suffix === 'doc' || suffix === 'docx') { docFileList.push({ id, name, suffix }) } } diff --git a/src/views/dashboard/search/GeneralSearch.vue b/src/views/dashboard/search/GeneralSearch.vue index b51f4850..0389e3c7 100644 --- a/src/views/dashboard/search/GeneralSearch.vue +++ b/src/views/dashboard/search/GeneralSearch.vue @@ -600,7 +600,7 @@ export default { if (suffix === 'pdf') { pdfFileList.push({ id, name, suffix }) } - if (suffix === 'docx') { + if (suffix === 'doc' || suffix === 'docx') { docFileList.push({ id, name, suffix }) } } diff --git a/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue b/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue index f61b2267..0ad8628d 100644 --- a/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue +++ b/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue @@ -810,7 +810,7 @@ export default { if (suffix === 'pdf') { pdfFileList.push({ id, name, suffix }) } - if (suffix === 'docx') { + if (suffix === 'doc' || suffix === 'docx') { docFileList.push({ id, name, suffix }) } } diff --git a/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue b/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue index 6ebeace0..d1c24245 100644 --- a/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue +++ b/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue @@ -673,7 +673,7 @@ export default { if (suffix === 'pdf') { pdfFileList.push({ id, name, suffix }) } - if (suffix === 'docx') { + if (suffix === 'doc' || suffix === 'docx') { docFileList.push({ id, name, suffix }) } } diff --git a/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue b/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue index daab5fcd..9dfb278e 100644 --- a/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue +++ b/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue @@ -674,7 +674,7 @@ export default { if (suffix === 'pdf') { pdfFileList.push({ id, name, suffix }) } - if (suffix === 'docx') { + if (suffix === 'doc' || suffix === 'docx') { docFileList.push({ id, name, suffix }) } }