Pre Merge pull request !247 from beginner/beginner

This commit is contained in:
beginner 2025-11-05 01:24:41 +00:00 committed by Gitee
commit 5b80c316c6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -176,6 +176,8 @@ const getCode = async () => {
const { data } = res;
captchaEnabled.value = data.captchaEnabled === undefined ? true : data.captchaEnabled;
if (captchaEnabled.value) {
//
loginForm.value.code = '';
codeUrl.value = 'data:image/gif;base64,' + data.img;
loginForm.value.uuid = data.uuid;
}