From 3e20408521d46b1086a5e77b914d04afb9630ab0 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 28 七月 2023 10:37:02 +0800 Subject: [PATCH] 主题库开启编辑分类注入bug --- Source/UBCS-WEB/src/api/GetItem.js | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/Source/UBCS-WEB/src/api/GetItem.js b/Source/UBCS-WEB/src/api/GetItem.js index a1ade96..24c75dc 100644 --- a/Source/UBCS-WEB/src/api/GetItem.js +++ b/Source/UBCS-WEB/src/api/GetItem.js @@ -61,13 +61,7 @@ return request({ url: 'api/ubcs-code/mdmEngineController/exportCode', method: 'excel', - responseType: 'json', // 璁剧疆鍝嶅簲绫诲瀷涓篴rraybuffer - headers: { - 'Content-Type': 'application/vnd.ms-excel', // 璁剧疆璇锋眰澶翠负浜岃繘鍒舵祦绫诲瀷 - // 鍦ㄨ繖閲屽彲浠ヨ缃叾浠栬姹傚ご淇℃伅 - // 渚嬪锛� - // 'Authorization': 'Bearer your-token', - }, + responseType: 'blob', // 璁剧疆鍝嶅簲绫诲瀷涓篵lob params:{ ...data } -- Gitblit v1.9.3