瀏覽代碼

接口调整

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) => {