achao 2 年之前
父节点
当前提交
908be65baf
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/home/right-top.vue

+ 3 - 3
src/views/home/right-top.vue

@@ -31,7 +31,7 @@ export default {
     };
     };
   },
   },
   watch:{
   watch:{
-    crklistData(res){
+    crklistData(res){debugger
       console.log('rightyop')
       console.log('rightyop')
       console.log(res)
       console.log(res)
       this.pageflag = true;
       this.pageflag = true;
@@ -49,12 +49,12 @@ export default {
       let numList =[]
       let numList =[]
       let numList2 =[]
       let numList2 =[]
       for(let i = 0;i<res.ck.length;i++){
       for(let i = 0;i<res.ck.length;i++){
-        if(i>ct) break
+        // if(i>ct) break
         dateList.push(res.ck[i].name)
         dateList.push(res.ck[i].name)
         numList.push(Number(res.ck[i].count))
         numList.push(Number(res.ck[i].count))
       }
       }
       for(let i = 0;i<res.rk.length;i++){
       for(let i = 0;i<res.rk.length;i++){
-        if(i>ct) break
+        // if(i>ct) break
         numList2.push(Number(res.rk[i].count))
         numList2.push(Number(res.rk[i].count))
       }
       }
        this.init(dateList, numList,numList2)
        this.init(dateList, numList,numList2)