Ver Fonte

update PostAnalysis.vue

reghao há 2 anos atrás
pai
commit
f07a76e574
1 ficheiros alterados com 0 adições e 16 exclusões
  1. 0 16
      src/views/post/PostAnalysis.vue

+ 0 - 16
src/views/post/PostAnalysis.vue

@@ -71,8 +71,6 @@
 </template>
 
 <script>
-import { userVideoList } from "@/api/video";
-
 export default {
   name: 'PostAnalysis',
   data() {
@@ -88,20 +86,6 @@ export default {
   },
   created() {
     document.title = "数据分析"
-
-    userVideoList(1, this.userId, 1).then(res => {
-      if (res.code === 0) {
-        const resData = res.data.list
-        if (resData.length !== 0) {
-          this.showEmpty = false
-          for (const item of resData) {
-            this.dataList.push(item)
-          }
-        } else {
-          this.showEmpty = true
-        }
-      }
-    })
   },
   watch: {
     $route(){