fix: ttl in SetTtlDialog error when open without ttl set after opening dialog with ttl set

This commit is contained in:
ikaven1024 2023-10-15 15:54:37 +08:00
parent 44f8581a41
commit 025e987290
1 changed files with 1 additions and 5 deletions

View File

@ -29,11 +29,7 @@ watch(
ttlForm.db = tab.db
ttlForm.key = tab.key
ttlForm.keyCode = tab.keyCode
if (tab.ttl < 0) {
// forever
} else {
ttlForm.ttl = tab.ttl
}
ttlForm.ttl = tab.ttl
}
}
},