mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-26 08:48:13 +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