From f8d73b1ddbd279a9c5195483867d3c2291e94685 Mon Sep 17 00:00:00 2001
From: yangchunlong <292345300@qq.com>
Date: Wed, 9 Apr 2025 09:25:12 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=9A=80=20=E7=AB=99=E7=82=B9?=
=?UTF-8?q?=E5=88=87=E6=8D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 9 +++++
src/api/index.ts | 4 +-
src/components/ProTable/index.vue | 13 +++++--
src/components/rulesForm/index.vue | 12 +++++-
.../components/Header/components/Avatar.vue | 20 ++++++----
.../components/Tabs/components/MoreButton.vue | 38 +++++++++++--------
src/layouts/components/Tabs/index.vue | 4 +-
.../bannerManagement/list/constant/edit.ts | 2 +-
src/views/bannerManagement/list/index.vue | 33 +++++++---------
.../feedbackManagement/product/index.vue | 33 +++-------------
.../feedbackManagement/purchase/index.vue | 12 +++++-
.../productManagement/list/constant/edit.ts | 32 ++++++++--------
12 files changed, 115 insertions(+), 97 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 08f9635..04a2129 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -5,6 +5,8 @@
diff --git a/src/api/index.ts b/src/api/index.ts
index 41e3979..f0fb503 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -14,8 +14,10 @@ const getDispositionName = (response: any) => {
//导出表格,从content-disposition获取表格的名称 只有导出服务端才会返回该字段
const contentDisposition = response.headers["content-disposition"];
if (contentDisposition) {
+ let contentDispositionClone = decodeURIComponent(contentDisposition);
+ console.log(contentDispositionClone);
// 解析 Content-Disposition 以提取文件名
- const filenameMatch = contentDisposition.match(/filename=(.*)/i);
+ const filenameMatch = contentDispositionClone.match(/filename=(.*)/i);
if (filenameMatch && filenameMatch[1]) {
let filename = filenameMatch[1].trim();
localStorage.setItem("filename", filename);
diff --git a/src/components/ProTable/index.vue b/src/components/ProTable/index.vue
index a10397c..ce8e3b7 100644
--- a/src/components/ProTable/index.vue
+++ b/src/components/ProTable/index.vue
@@ -83,7 +83,7 @@
diff --git a/src/views/productManagement/list/constant/edit.ts b/src/views/productManagement/list/constant/edit.ts
index f8fb54c..8d49e11 100644
--- a/src/views/productManagement/list/constant/edit.ts
+++ b/src/views/productManagement/list/constant/edit.ts
@@ -109,22 +109,22 @@ export const BASIC_INFO_FORM_DATA: FormItem[] = [
]
},
- {
- prop: "is_show1",
- placeholder: "",
- type: "radio",
- label: "是否启用: ",
- options: [
- {
- label: "是",
- value: 1
- },
- {
- label: "否",
- value: 0
- }
- ]
- },
+ // {
+ // prop: "is_show1",
+ // placeholder: "",
+ // type: "radio",
+ // label: "是否启用: ",
+ // options: [
+ // {
+ // label: "是",
+ // value: 1
+ // },
+ // {
+ // label: "否",
+ // value: -1
+ // }
+ // ]
+ // },
{
prop: "seo_title",