From f0633761a0d6f3c2f7b7876aad7eb4c1dbdb66e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E5=85=88=E6=A3=AE?= Date: Fri, 15 Nov 2024 16:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E7=AA=97=E5=8F=A3=E7=9A=84?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E7=8A=B6=E6=80=81=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=88=90=E5=91=98=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E5=BC=80=E6=9C=BA=E8=87=AA=E5=90=AF=E9=9A=90=E8=97=8F=E4=BA=8E?= =?UTF-8?q?=E6=89=98=E7=9B=98=EF=BC=8C=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E8=BE=93=E5=85=A5=E6=94=AF=E6=8C=81=E5=B8=A6=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=20[protocol]://?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +- pages/index.vue | 211 ++++++++++++++++++---------- pages/member.vue | 96 ++++++++++--- pnpm-lock.yaml | 11 ++ src-tauri/Cargo.lock | 18 ++- src-tauri/Cargo.toml | 3 +- src-tauri/capabilities/default.json | 4 +- src-tauri/src/lib.rs | 22 +-- src-tauri/tauri.conf.json | 7 +- 9 files changed, 264 insertions(+), 111 deletions(-) diff --git a/package.json b/package.json index 6eb2ef4..ac447a0 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "author": "leizi97", "description": "A simple network initiator based on Easytier", - "version": "1.2.0", + "version": "1.2.1", "scripts": { "dev": "nuxt dev --dotenv env/.env.dev --host 0.0.0.0", "build": "nuxt generate --dotenv env/.env.prod" @@ -21,6 +21,7 @@ "@tauri-apps/plugin-fs": "~2", "@tauri-apps/plugin-http": "^2.0.1", "@tauri-apps/plugin-shell": "~2", + "@tauri-apps/plugin-window-state": "~2", "@types/lodash-es": "^4.17.12", "@vitejs/plugin-vue-jsx": "^4.1.0", "@vueuse/core": "^11.2.0", diff --git a/pages/index.vue b/pages/index.vue index 1be9483..0d1c49c 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -2,7 +2,8 @@ + :model="config" + > + prop="serverUrl" + >