浏览代码

Merge branch 'dev/v1.0.59_yf' of jianyu/web into feature/v1.0.59

yangfeng 11 月之前
父节点
当前提交
660bf79ea7

+ 2 - 2
apps/mobile/src/components/no-login/NoLoginTabbar.vue

@@ -150,8 +150,8 @@ export default {
         window.location.href = '/jyapp/free/login?url=/jyapp/frontPage/messageCenter/sess/index'
       } else if(key === 'me') {
         window.location.href = '/jyapp/free/login?url=/jyapp/free/me'
-      } else if(key === 'home') {
-        window.location.replace('/jyapp/jylab/mainSearch')
+      } else if(key === 'search') {
+        window.location.replace('/')
       }
     }
   }

+ 1 - 18
apps/mobile/src/components/search/bidding/NoLoginBidList.vue

@@ -73,30 +73,13 @@ export default {
     }
   },
   computed: {
-    ...mapState('user', ['mySelectEntInfo']),
     getTimeFmt() {
       return 'yyyy-MM-dd'
     },
     ...mapGetters('user', ['isLogin', 'isFree'])
   },
   created() {
-    const storage = this.$storage.get('home-list', false, {
-      storage: sessionStorage,
-      login: true
-    })
-    if (storage) {
-      const { list } = storage
-      this.list = list.map(item => {
-        return {
-          title: item.title,
-          id: item.id,
-          time: item.time,
-          tags: item.tags
-        }
-      }).splice(0, 20)
-    } else {
-      this.loadList()
-    }
+    this.loadList()
   },
   methods: {
     onClick(item) {