Răsfoiți Sursa

fix 修改套装书的显示问题

ylong 3 săptămâni în urmă
părinte
comite
802c29ba88
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  1. 4 1
      pages/home/components/ConfirmBooks.vue

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

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