From 3db4d883afd8547561e391fb910da87744e4e9d3 Mon Sep 17 00:00:00 2001 From: Allen Date: Thu, 18 Apr 2024 15:19:24 +0800 Subject: [PATCH] fixbug --- src/pages/dashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/dashboard.vue b/src/pages/dashboard.vue index 01fe2b71..b1e1ad5d 100644 --- a/src/pages/dashboard.vue +++ b/src/pages/dashboard.vue @@ -52,7 +52,7 @@ function setDashboardConfig() { const data = JSON.stringify(config.value) api.post('/user/config/Dashboard', data, { headers: { - "Content-Type": "text/plain" + "Content-Type": "application/json" } }).then((response: any) => { if (response && response.success) {