浏览代码

Merge branch 'dev_220318_test' into test

wenliming 3 年之前
父节点
当前提交
fe28f855f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);