From f7b91ed75e467032195062528626c1945b3819de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C=20=D0=91=D0=B0=D0=BD=D0=B4?= =?UTF-8?q?=D1=83=D1=80=D0=B8=D1=81=D1=82?= Date: Fri, 8 May 2026 12:42:12 +1000 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B1=D1=80=D0=B0=D0=BD=D0=BE=20=D0=BE?= =?UTF-8?q?=D0=B3=D1=80=D0=B0=D0=BD=D0=B8=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=BF=D0=BE=20=D0=B4=D0=BB=D0=B8=D0=BD=D0=B5=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/News_section/One_kard.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/News_section/One_kard.vue b/src/components/News_section/One_kard.vue index 64f83cf..f6de374 100644 --- a/src/components/News_section/One_kard.vue +++ b/src/components/News_section/One_kard.vue @@ -213,7 +213,7 @@ const bilutene_b = async () => { const download = async () => { try { // Обрезаем заголовок до 200 символов для совместимости с именем файла на сервере - const truncatedTitle = props.title.slice(0, 100); + // const truncatedTitle = props.title.slice(0, 100); const rez = await axios.get( "https://allowlgroup.ru/api/8001/file_download", // "http://127.0.0.1:8001/file_download", @@ -221,7 +221,7 @@ const download = async () => { params: { // path: props.parsed_at.split(" ")[0].replace("-", "/"), path: props.article_date.split(" ")[0], - title: truncatedTitle, + title: props.title, }, responseType: "blob", }, @@ -232,7 +232,7 @@ const download = async () => { }), ); const link = document.createElement("a"); - let filename = truncatedTitle + ".docx"; + let filename = props.title + ".docx"; try { const disposition = rez.headers?.["content-disposition"]; if (disposition) {