feat: remove meaningless parentheses (#2033)

This commit is contained in:
波比小金刚 2021-05-21 14:33:37 +08:00 committed by GitHub
parent 8f519cfbef
commit 24ef604db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ export default defineComponent({
})
const shouldBeRender = computed(() => {
return (!props.lazy || loaded.value) || active.value
return !props.lazy || loaded.value || active.value
})
const instance = getCurrentInstance()