Browse Source

[change] close dialog

wenliming 3 năm trước cách đây
mục cha
commit
410af27c40
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/view/components/give-dialog.vue

+ 1 - 1
src/view/components/give-dialog.vue

@@ -139,7 +139,7 @@ watch(
 const emits = defineEmits(["close", "confirm"]);
 
 const close = () => {
-    if (showPreview) {
+    if (showPreview.value) {
         showPreview.value = false;
     } else {
         emits("close", false);