From 0efa1e986bf7cf7c8697a5b132268c94bacec627 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 6 Jul 2025 16:45:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20form-create=20API=20=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E7=BC=BA=E5=B0=91=20token=20=EF=BC=88https:/?= =?UTF-8?q?/t.zsxq.com/hK3FO=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/formCreate.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/formCreate.ts b/src/utils/formCreate.ts index 5a0a49a3..19862f57 100644 --- a/src/utils/formCreate.ts +++ b/src/utils/formCreate.ts @@ -116,7 +116,8 @@ export const setConfAndFields2 = ( switch (key) { case 'beforeFetch': return (config: any) => { - // 添加认证头 + // 添加 Token 认证头。例如说: + // https://t.zsxq.com/hK3FO const token = localStorage.getItem('token') if (token) { config.headers = {