From 478808cba94297e7dde76bd1b91acd38840649d7 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期五, 09 八月 2024 20:45:19 +0800
Subject: [PATCH] 图片上传解决方案

---
 src/views/login/components/login-form.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/views/login/components/login-form.vue b/src/views/login/components/login-form.vue
index 583ef10..f3cb36d 100644
--- a/src/views/login/components/login-form.vue
+++ b/src/views/login/components/login-form.vue
@@ -112,6 +112,10 @@
             ...othersQuery,
           },
         });
+
+        const url = window.location.origin;
+        localStorage.setItem('httpUrl', url);
+        userStore.getHreFurl(url);
         Message.success(t('鐧诲綍鎴愬姛'));
         const { rememberPassword } = loginConfig.value;
         const { email, password } = values;

--
Gitblit v1.8.0