DESKTOP-70VPDLK\Administrator hace 5 meses
padre
commit
f07cef2312
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      src/views/Forestage/Tourism/index.vue

+ 6 - 0
src/views/Forestage/Tourism/index.vue

@@ -162,6 +162,12 @@ export default {
           this.userInfo = res.data;
           if(this.userInfo.order_num>= this.item.order_num && this.current === 'goods'){
             this.current='list'
+          }else if(this.current === 'goods'){
+            this.goodsList.forEach((item)=>{
+              if(item.id*1===this.userInfo.vip_id*1){
+                this.item=item
+              }
+            })
           }
         }
       })