Browse Source

'改上新公告的数据请求问题'‘

魏志佳 4 năm trước cách đây
mục cha
commit
eac55967b6
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/views/dashboard/Analysis.vue

+ 4 - 1
src/views/dashboard/Analysis.vue

@@ -461,7 +461,10 @@
             console.log(res)
             if(res.success){
                this.visible=res.showPopup;
-               this.versionId=res.data.id;
+               if(res.data){
+                 this.versionId=res.data.id;
+               }
+               
             }
            
         })