浏览代码

no message

DESKTOP-70VPDLK\Administrator 5 月之前
父节点
当前提交
f07cef2312
共有 1 个文件被更改,包括 6 次插入0 次删除
  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
+              }
+            })
           }
         }
       })