mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
Fix syntax
This commit is contained in:
parent
d82fc5fb99
commit
190208ce75
@ -80,7 +80,7 @@ export default defineComponent({
|
||||
() => props.result,
|
||||
(resultProp) => {
|
||||
arrayRef.value = cloneDeep(arrayRef.value).map((item) => false)
|
||||
if (resultProp !== NaN) arrayRef.value[resultProp] = true
|
||||
if (!isNaN(resultProp)) arrayRef.value[resultProp] = true
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user