Explorar el Código

课程管理 选择视频自动选中题目

Long hace 1 semana
padre
commit
399b8a3922
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/components/course/userCourseCatalogDetails.vue

+ 1 - 1
src/views/components/course/userCourseCatalogDetails.vue

@@ -558,11 +558,11 @@ export default {
       },
       // 视频库课题
       handleSelectProjects(projectIds) {
+        this.form.questionBankList = []
         if (!projectIds || projectIds.length === 0 || this.isPrivate === 0) {
           return
         }
 
-        this.form.questionBankList = []
         const params = {ids: projectIds}
         getByIds(params).then(response => {
           if (response.code === 200) {