From 729b698b17d7468acbc6c495746a72c9150fdaeb Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 09 九月 2025 11:49:47 +0800
Subject: [PATCH] 按钮改名下传

---
 src/api/user.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/api/user.js b/src/api/user.js
index 2ca0861..db48115 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -18,7 +18,7 @@
       tenantId,
       username,
       password,
-      grant_type: website.captchaMode ? 'password' : 'captcha',
+      grant_type: website.captchaMode ? 'captcha' : 'password',
       scope: 'all',
       type,
     },

--
Gitblit v1.9.3