From d4c7a6d2b03b1682efe19644ac10ac6c4a8e669d Mon Sep 17 00:00:00 2001
From: SunWuyuan <1847261658@qq.com>
Date: Fri, 30 Aug 2024 21:48:13 +0800
Subject: [PATCH] 1
---
src/components/AppHeader.vue | 6 ++++++
src/pages/asdm.vue | 6 ++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue
index 1828920..2341a5d 100644
--- a/src/components/AppHeader.vue
+++ b/src/components/AppHeader.vue
@@ -56,7 +56,13 @@
@click="trylogout">
+
+ 工具
+
+
+
+
diff --git a/src/pages/asdm.vue b/src/pages/asdm.vue
index b43b2ed..517279e 100644
--- a/src/pages/asdm.vue
+++ b/src/pages/asdm.vue
@@ -137,7 +137,9 @@ export default {
{ state: '自定义', abbr: '' },
],
- loading: false
+ loading: false,
+ scratch_proxy: import.meta.env.VITE_APP_SCRATCH_PROXY,
+
};
},
@@ -145,7 +147,7 @@ export default {
created() {
this.loading = true
this.release.stat = 0
- request.get('https://scratch.192325.xyz/asdm')
+ request.get(scratch_proxy+'/asdm')
.then(res => {
this.release.stat = 1
this.release.url.windows = res.assets.