From e7d92cce475a4df6cec190453c33e667ad737484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E5=85=88=E6=A3=AE?= Date: Wed, 25 Dec 2024 15:26:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8C=85=E7=89=88=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E5=88=86=E4=BA=AB=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=B8=8D=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E5=88=86=E4=BA=AB=E7=9A=84=E9=85=8D=E7=BD=AE=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cargo.toml + tauri-plugin-single-instance 2.2.0 + tauri-plugin-cli 2.2.0 + tauri-plugin-window-state 2.2.0 + tauri-plugin-fs 2.2.0 + tauri-plugin-log 2.2.0 + tauri-plugin-shell 2.2.0 package.json + "@tauri-apps/plugin-cli" -> ^2.2.0 --- package.json | 4 +- pages/advance.vue | 2 +- pages/index.vue | 87 ++++++++++++++++++++++++++++++++------- pnpm-lock.yaml | 10 ++--- src-tauri/Cargo.lock | 42 ++++++++++--------- src-tauri/Cargo.toml | 14 +++---- src-tauri/tauri.conf.json | 4 +- utils/element.ts | 6 ++- 8 files changed, 114 insertions(+), 55 deletions(-) diff --git a/package.json b/package.json index 8a8f871..6626925 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.3.3", + "version": "1.3.4", "scripts": { "dev": "nuxt dev --dotenv env/.env.dev --host 0.0.0.0", "build": "nuxt generate --dotenv env/.env.prod", @@ -16,7 +16,7 @@ "@pinia/nuxt": "0.9.0", "@tauri-apps/api": "^2.1.1", "@tauri-apps/cli": "^2.1.0", - "@tauri-apps/plugin-cli": "^2.0.0", + "@tauri-apps/plugin-cli": "^2.2.0", "@tauri-apps/plugin-clipboard-manager": "^2.0.0", "@tauri-apps/plugin-fs": "^2.2.0", "@tauri-apps/plugin-log": "^2.2.0", diff --git a/pages/advance.vue b/pages/advance.vue index 8338a45..856b1ce 100644 --- a/pages/advance.vue +++ b/pages/advance.vue @@ -58,7 +58,7 @@ 打开config.json目录 -
防止休眠
+
防止系统休眠(比如:屏幕会一直亮着)
不监听任何端口,只连接到对等节点 diff --git a/pages/index.vue b/pages/index.vue index 0106b81..eb48ded 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -55,6 +55,7 @@ placeholder="请选择服务器地址" default-first-option v-model="config.serverUrl" + no-data-text="无服务器地址" @change="handleServerUrlChange" >