chore(components): [select] remove unnecessary assertions (#17893)

perf(components): remove unnecessary assertions
This commit is contained in:
Kylin 2024-08-14 17:30:31 +08:00 committed by GitHub
parent b93e59b065
commit 797e39dbe7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ export default defineComponent({
}
if (children.length) {
filterOptions(children![0]?.children)
filterOptions(children[0]?.children)
}
if (!isEqual(valueList, cachedValueList)) {