mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 14:58:14 +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