From 07f982c0b3f40da0b83bf77784bd7dc86d78c738 Mon Sep 17 00:00:00 2001
From: zhuhao <979263092@qq.com>
Date: Tue, 9 Jul 2024 16:19:33 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=B8=8A=E4=BC=A0=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD=E5=AE=9E=E7=8E=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
electron.vite.config.mjs | 3 +-
.../src/components/file-upload/index.vue | 39 +++++++++++++++++
src/renderer/src/views/prepare/index.vue | 42 +------------------
3 files changed, 42 insertions(+), 42 deletions(-)
create mode 100644 src/renderer/src/components/file-upload/index.vue
diff --git a/electron.vite.config.mjs b/electron.vite.config.mjs
index 4390ed1..8547744 100644
--- a/electron.vite.config.mjs
+++ b/electron.vite.config.mjs
@@ -21,7 +21,8 @@ export default defineConfig({
server: {
proxy: {
'/dev-api': {
- target: 'http://27.128.240.72:7865',
+ // target: 'http://27.128.240.72:7865',
+ target: 'http://192.168.2.52:7863',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
}
diff --git a/src/renderer/src/components/file-upload/index.vue b/src/renderer/src/components/file-upload/index.vue
new file mode 100644
index 0000000..e328e0f
--- /dev/null
+++ b/src/renderer/src/components/file-upload/index.vue
@@ -0,0 +1,39 @@
+
+
+
+ 文件上传
+
+
+
+
+
diff --git a/src/renderer/src/views/prepare/index.vue b/src/renderer/src/views/prepare/index.vue
index 300925a..c485a39 100644
--- a/src/renderer/src/views/prepare/index.vue
+++ b/src/renderer/src/views/prepare/index.vue
@@ -1,41 +1 @@
-
-
-
- 上传
-
-
-
-
-
+
\ No newline at end of file