Explorar o código

fix 修改套装书的显示问题

ylong hai 3 semanas
pai
achega
802c29ba88
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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;