mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-16 18:31:49 +01:00
Enhance initialIndex evaluation
This commit is contained in:
parent
dc03e8b1e5
commit
bfe75069a4
@ -34,9 +34,9 @@
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
if (props.initialIndex != null) {
|
||||
turnOn(props.initialIndex)
|
||||
}
|
||||
if (! isNaN(props.initialIndex)) {
|
||||
turnOn(props.initialIndex)
|
||||
}
|
||||
})
|
||||
|
||||
defineExpose({
|
||||
|
Loading…
Reference in New Issue
Block a user