浏览代码

fix 修改套装书的显示问题

ylong 3 周之前
父节点
当前提交
802c29ba88
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      pages/home/components/ConfirmBooks.vue

+ 4 - 1
pages/home/components/ConfirmBooks.vue

@@ -30,8 +30,11 @@ export default {
     },
     methods: {
         openPopup(row) {
+            console.log(row, "row-----");
             this.showPopup = true;
-            this.bookInfo = row;
+            if(row.isbn){
+                this.bookInfo = row;
+            }
         },
         closePopup() {
             this.showPopup = false;