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 ;;