mirror of
https://github.com/oneclickvirt/ecs.git
synced 2025-10-05 15:27:08 +08:00
fix: 修复退出选项被筛选逻辑拦截的问题
This commit is contained in:
4
goecs.go
4
goecs.go
@@ -40,7 +40,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
ecsVersion = "v0.1.77"
|
ecsVersion = "v0.1.78"
|
||||||
menuMode bool
|
menuMode bool
|
||||||
onlyChinaTest bool
|
onlyChinaTest bool
|
||||||
input, choice string
|
input, choice string
|
||||||
@@ -100,7 +100,7 @@ func getMenuChoice(language string) string {
|
|||||||
if re.MatchString(input) {
|
if re.MatchString(input) {
|
||||||
inChoice := input
|
inChoice := input
|
||||||
switch inChoice {
|
switch inChoice {
|
||||||
case "1", "2", "3", "4", "5", "6", "7", "8", "9", "10":
|
case "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10":
|
||||||
return inChoice
|
return inChoice
|
||||||
default:
|
default:
|
||||||
if language == "zh" {
|
if language == "zh" {
|
||||||
|
Reference in New Issue
Block a user