From dfee5249cf25ec4a757ec90abdbb8a08001112a6 Mon Sep 17 00:00:00 2001 From: chaos-zhu Date: Thu, 17 Apr 2025 22:10:30 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8Dswap=E8=84=9A?= =?UTF-8?q?=E6=9C=AC&=E8=B7=B3=E6=9D=BF=E6=9C=BA=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ server/scripts/swap.sh | 9 ++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 962750c..5340928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ * 新增终端链接跳转需按住ctrl键(防止误触) * 新增服务器定时任务功能 +## [3.0.6](https://github.com/chaos-zhu/easynode/releases) (2025-04-04) + +* AI问答支持历史记录&标题生成 +* 添加一些新的内置脚本 +* 修复跳板机提示多余空格 + ## [3.0.5](https://github.com/chaos-zhu/easynode/releases) (2025-04-04) * 新增AI问答组件及相关配置项,支持deepseekR1、qwq思维链 diff --git a/server/scripts/swap.sh b/server/scripts/swap.sh index de88926..f122a73 100644 --- a/server/scripts/swap.sh +++ b/server/scripts/swap.sh @@ -70,9 +70,8 @@ echo -e "——————————————————————— echo -e "${Green}Linux VPS一键添加/删除swap脚本${Font}" echo -e "${Green}1、添加swap${Font}" echo -e "${Green}2、删除swap${Font}" -echo -e "${Green}3、取消操作${Font}" echo -e "———————————————————————————————————————" -read -p "请输入数字 [1-3]:" num +read -p "请输入数字 [1-2]:" num case "$num" in 1) add_swap @@ -80,13 +79,9 @@ case "$num" in 2) del_swap ;; - 3) - echo -e "${Green}已取消操作,退出脚本${Font}" - exit 0 - ;; *) clear - echo -e "${Green}请输入正确数字 [1-3]${Font}" + echo -e "${Green}请输入正确数字 [1-2]${Font}" sleep 2s main ;;