fix: a flash of pictures when previewing was turned off (#5955)

pull/5966/head
24min 2022-09-13 19:44:34 +08:00 committed by GitHub
parent 6cd099d691
commit 31800cb99c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ const Group = defineComponent({
); );
watchEffect( watchEffect(
() => { () => {
if (!isShowPreview.value && isControlled.value) { if (isShowPreview.value && isControlled.value) {
setCurrent(currentControlledKey.value); setCurrent(currentControlledKey.value);
} }
}, },