From bcdb083a696b7e43f21b15e0c07195d409f36bce Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 19 十一月 2024 09:30:50 +0800
Subject: [PATCH] 前端添加sse获取进度
---
src/layout/index.vue | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index dee6d98..76e9193 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -44,23 +44,9 @@
}
},
mounted() {
- // 鑾峰彇鍦板潃鏍廲ode
- let code = this.$route.query.code;
- if (code) {
- this.getUserDate(code);
- }
- // else {
- // this.$router.push("/login");
- // }
+
},
methods: {
- getUserDate(code) {
- login({
- code: code,
- }).then((res) => {
- localStorage.setItem("user", JSON.stringify(res));
- });
- },
handleClickOutside() {
this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
}
--
Gitblit v1.8.0