liuyg
2021-07-19 4222b0a319456b90dbc8c7f168669be045a37bee
home api
1 files modified
1 files added
12 ■■■■■ changed files
src/api/home/home.js 8 ●●●●● patch | view | raw | blame | history
src/views/wel/home.vue 4 ●●●● patch | view | raw | blame | history
src/api/home/home.js
New file
@@ -0,0 +1,8 @@
import request from '@/router/axios';
export const startList = () => {
  return request({
    url: '/api/blade-user/getUserRegisterStatisticsData',
    method: 'get',
  })
}
src/views/wel/home.vue
@@ -101,6 +101,7 @@
import * as echarts from "echarts";
import geojson from "@/geojson/nanchang.json";
// import { getList } from "@api/home/home";
export default {
  data() {
@@ -263,6 +264,9 @@
    onSixEcharts() {
      this.echarts1.clear();
      //改折线图
      // getList.then((res) => {
      //   console.log(res, 243423);
      // });
      var option = {
        tooltip: {
          trigger: "axis",