mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 23:08:14 +08:00
Fix syntax
This commit is contained in:
parent
d82fc5fb99
commit
190208ce75
@ -80,7 +80,7 @@ export default defineComponent({
|
|||||||
() => props.result,
|
() => props.result,
|
||||||
(resultProp) => {
|
(resultProp) => {
|
||||||
arrayRef.value = cloneDeep(arrayRef.value).map((item) => false)
|
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