fixed upgradable

This commit is contained in:
marvzhang
2020-07-19 17:52:11 +08:00
parent 2a405d0f80
commit 8fbbdc863c

View File

@@ -187,7 +187,11 @@ docker-compose up -d
const nc = Number(currentVersionList[i])
let nl = Number(latestVersionList[i])
if (isNaN(nl)) nl = 0
if (nc < nl) return true
if (nc < nl) {
return true
} else if (nc > nl) {
return false
}
}
return false
},
@@ -281,7 +285,7 @@ docker-compose up -d
.github {
height: 50px;
margin-right: 35px;
padding-top: 8px;
margin-top: -10px;
}
.upgrade {