소스 검색

接口调整

gcz 2 년 전
부모
커밋
c41f1149c4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/index.vue

+ 2 - 2
src/views/index.vue

@@ -1,5 +1,5 @@
 <!--
- * @LastEditors: wangcc
+ * @LastEditors: gcz
 -->
 <template>
   <div class>
@@ -484,7 +484,7 @@ export default {
           this.page2Char2.xAxis.data = [];
           this.page2Char2.series = [];
 
-          const rows = res.rows;
+          const rows = res.data;
           // console.log(rows)
           // x坐标
           this.page2Char2.xAxis.data = rows.map((item) => {