Kaynağa Gözat

更新 Timeline.vue

reghao 2 yıl önce
ebeveyn
işleme
e297dc4a85
1 değiştirilmiş dosya ile 4 ekleme ve 6 silme
  1. 4 6
      src/views/home/Timeline.vue

+ 4 - 6
src/views/home/Timeline.vue

@@ -46,7 +46,7 @@ import StatusCard from '@/components/card/StatusCard'
 import SideVideoCard from '@/components/card/SideVideoCard'
 import UserAvatarCard from '@/components/card/UserAvatarCard'
 
-import { statusTimeline, videoTimeline } from '@/api/timeline'
+import { videoTimeline } from '@/api/timeline'
 import { getAuthedUser } from '@/utils/auth'
 
 export default {
@@ -93,11 +93,9 @@ export default {
       }
     },
     statusTimelineWrapper(nextId) {
-      statusTimeline(nextId).then(resp => {
-        if (resp.code === 0) {
-          this.dataList = resp.data.list
-          this.nextId = resp.data.nextId
-        }
+      this.$notify.info({
+        message: '状态 timeline 未实现',
+        duration: 3000
       })
     },
     videoTimelineWrapper(nextId) {