任务选择的顺序

This commit is contained in:
joylink_zhaoerwei 2024-02-27 18:18:01 +08:00
parent 87a86e1de0
commit 2063900e40

View File

@ -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();