scheduling-table

npm i -S @lanserdi/scheduling-table

<SchedulingTable
  @add="add"
  @remove="remove"
  @edit="showEditCourseModal"
  :initialCourses="courses"
></SchedulingTable>

import SchedulingTable from "@lanserdi/scheduling-table";
export default {
  components: {
    SchedulingTable
  },
  data(){
    return {
      courses: [
        {
          name: "早读",
          day: 3,
          start: [6, 0],
          end: [6, 45],
        }
      ]
    }
  }
}

GitHub

https://github.com/lanserdi/scheduling-table