From 7026ed018d3a5eb493947f70b8b73f5af34e7c21 Mon Sep 17 00:00:00 2001
From: yinbangzhong <zhongbangyin@126.com>
Date: 星期一, 12 八月 2024 10:20:11 +0800
Subject: [PATCH] 退出登录问题

---
 src/components/upload/index.vue |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/components/upload/index.vue b/src/components/upload/index.vue
index ffae588..b58aeaf 100644
--- a/src/components/upload/index.vue
+++ b/src/components/upload/index.vue
@@ -11,6 +11,9 @@
 
 <script setup>
   import { computed, ref, onMounted, watch, watchEffect } from 'vue';
+  import { useUserStore } from '@/store';
+
+  const userStore = useUserStore();
   const props = defineProps({
     limit: {
       type: Number,
@@ -50,6 +53,12 @@
         url: item,
       }));
     }
+
+    // console.log(
+    //   window.location.origin,
+    //   import.meta.env.VITE_API_BASE_URL,
+    //   8988
+    // );
   });
 
   // console.log(urls.value, 8988);

--
Gitblit v1.8.0