diff --git a/src/const/source.js b/src/const/source.js new file mode 100644 index 0000000..808667f --- /dev/null +++ b/src/const/source.js @@ -0,0 +1,28 @@ +export default { + types: [ + { + id: 1, + name: '演示文稿类' + }, + { + id: 2, + name: '视频类' + }, + { + id: 3, + name: '图形类' + }, + { + id: 4, + name: '文本类' + }, + { + id: 5, + name: '音频类' + }, + { + id: 6, + name: '其他' + }, + ], +} diff --git a/src/views/course/content/source.vue b/src/views/course/content/source.vue index 2ab7cb4..c2826d8 100644 --- a/src/views/course/content/source.vue +++ b/src/views/course/content/source.vue @@ -1,55 +1,89 @@