diff --git a/src/views/contestDataManage/contestSubjectManage/EditModuleTask.vue b/src/views/contestDataManage/contestSubjectManage/EditModuleTask.vue index d439216cd..83e4eded8 100644 --- a/src/views/contestDataManage/contestSubjectManage/EditModuleTask.vue +++ b/src/views/contestDataManage/contestSubjectManage/EditModuleTask.vue @@ -149,7 +149,7 @@ export default { } this.$emit('changeTreeData', 'taskCatalog', data, this.isAdd); } else { - const data = this.formModel.tasks.map(task=>{ return {label:task, type:'tasks', parentId:this.parentId}; }); + const data = this.formModel.tasks.reverse().map(task=>{ return {label:task, type:'tasks', parentId:this.parentId}; }); this.$emit('changeTreeData', 'task', data); } this.handleClose();