mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-18 04:56:47 +08:00
🐛 修复更新时间 dev 开头的问题
This commit is contained in:
@@ -594,7 +594,7 @@ async function checkDB () {
|
|||||||
confirmShow.value = true;
|
confirmShow.value = true;
|
||||||
return;
|
return;
|
||||||
} else if (!buildTime.value.startsWith("dev")) {
|
} else if (!buildTime.value.startsWith("dev")) {
|
||||||
if (!dbUpdatedTime || dbUpdatedTime < buildTime.value) {
|
if (!dbUpdatedTime || dbUpdatedTime.startsWith("dev") || dbUpdatedTime < buildTime.value) {
|
||||||
confirmOper.value = "updateDB";
|
confirmOper.value = "updateDB";
|
||||||
confirmText.value = "数据库可能过时,是否更新数据库?";
|
confirmText.value = "数据库可能过时,是否更新数据库?";
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user