<template>
  <div class="chart" style="padding:10px;width:36%">
    <h2 style="margin-bottom:10px" class="v-title">笔记更新排行</h2>
    <noteTable  :list="noteList"></noteTable>
  </div>
</template>

<script>
import { findStatisticDataApi } from '@/api/statistic'
import noteTable from './components/NoteTable.vue'
export default {
  data () {
    return {
      noteList: []
    }
  },
  components: {
    noteTable
  },
  methods: {
    async findCount () {
      const data = await findStatisticDataApi('student-note-update-rankings')
      this.noteList = data
    }
  },
  mounted () {
    this.findCount()
  }
}
</script>

<style>
</style>
