From 58eff630d77e989fd65ab19491a40aeedfd70013 Mon Sep 17 00:00:00 2001 From: Guarp Date: Sat, 8 Mar 2025 17:00:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8D=9A=E5=AE=A2=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Editor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Editor.vue b/src/pages/Editor.vue index 4b1ee46..fae9a74 100644 --- a/src/pages/Editor.vue +++ b/src/pages/Editor.vue @@ -241,7 +241,7 @@ const submitBlog = async () => { swal.window('success', `提交成功, 博客id${response.blogId || '未找到blogId字段'}`); return; } - swal.tip('error', '提交失败, code字段不为0') + swal.window('error', '提交失败', `code字段为${response.code}; 错误信息: ${response.message}`, 'ok', '好的'); }).catch((e) => { swal.tip('error', `错误${e.message}`) });