From bbcd5945cae34b1ea5f992f526e02dcf722801c6 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 21 十二月 2023 09:13:17 +0800
Subject: [PATCH] 内网
---
src/views/index.vue | 2 +-
/dev/null | 0
vite.config.ts | 4 ++--
src/utils/request.ts | 1 -
src/views/system/oss/index.vue | 4 ++--
5 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/dist.zip b/dist.zip
deleted file mode 100644
index 504fed4..0000000
--- a/dist.zip
+++ /dev/null
Binary files differ
diff --git a/src/utils/request.ts b/src/utils/request.ts
index 2e495be..b1b9032 100644
--- a/src/utils/request.ts
+++ b/src/utils/request.ts
@@ -108,7 +108,6 @@
return res.data;
}
if (code === 401) {
- debugger
const userStore = useUserStore();
await userStore.logout()
diff --git a/src/views/index.vue b/src/views/index.vue
index 6fee3cb..f1a17c7 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -341,7 +341,7 @@
dialogVisible.value = false;
clearInterval(state.mytime);
state.mytime = 0;
- testtxt.value = row.msg;
+ testtxt.value = row.data.password;
titleDownload.value = '鏌ョ湅鎻愬彇鐮�'
pasTxt.value = ''
visibleCode.value = true
diff --git a/src/views/system/oss/index.vue b/src/views/system/oss/index.vue
index 71103f6..1ac5fee 100644
--- a/src/views/system/oss/index.vue
+++ b/src/views/system/oss/index.vue
@@ -364,7 +364,7 @@
dialogVisible.value = false;
clearInterval(state.mytime);
state.mytime = 0;
- testtxt.value = row.msg;
+ testtxt.value = row.data.password;
titleDownload.value = '鏌ョ湅鎻愬彇鐮�'
pasTxt.value = ''
visibleCode.value = true
@@ -380,7 +380,7 @@
await examineIds(row.ossId).then(res => {
console.log(res);
if (res.code == 200) {
- testtxt.value = res.msg;
+ testtxt.value = row.data.password;
titleDownload.value = '鏌ョ湅鎻愬彇鐮�'
pasTxt.value = ''
// inputSty.value ={
diff --git a/vite.config.ts b/vite.config.ts
index 731a682..dbb4557 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -26,10 +26,10 @@
open: true,
proxy: {
[env.VITE_APP_BASE_API]: {
- target: 'http://80.36.32.176:8080',
+ // target: 'http://80.36.32.176:8080',
// target: 'http://51.9.57.211:8080',
// target: 'http://80.36.32.176:8080',
- // target: 'http://162.14.79.111:2023',
+ target: 'http://162.14.79.111:2023',
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
}
--
Gitblit v1.8.0