|
|
@@ -26,7 +26,6 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getTeacherCourse } from '@/server/course'
|
|
|
import { createSlide } from '@/server/slide'
|
|
|
import CInput from '@/components/CInput'
|
|
|
import CButton from '@/components/CButton'
|
|
|
@@ -42,11 +41,6 @@ export default {
|
|
|
file: null
|
|
|
}
|
|
|
},
|
|
|
- mounted () {
|
|
|
- getTeacherCourse().then(res => {
|
|
|
- this.courses = res
|
|
|
- })
|
|
|
- },
|
|
|
methods: {
|
|
|
handleSubmit () {
|
|
|
createSlide(this.selectedCourseId, this.userInput).then(res => {
|