Explorar el Código

Merge branch 'dev_220318_test' into test

wenliming hace 3 años
padre
commit
fe28f855f3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);