Browse Source

Merge branch 'dev_220318_test' into test

wenliming 3 years ago
parent
commit
fe28f855f3
1 changed files with 1 additions and 1 deletions
  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 emits = defineEmits(["close", "confirm"]);
 
 
 const close = () => {
 const close = () => {
-    if (showPreview) {
+    if (showPreview.value) {
         showPreview.value = false;
         showPreview.value = false;
     } else {
     } else {
         emits("close", false);
         emits("close", false);