style:增加学习路径图编辑任务弹框关闭

This commit is contained in:
wuyx
2022-11-29 16:03:28 +08:00
parent 556ad2d54d
commit 80fcf394a0
5 changed files with 99 additions and 5 deletions

View File

@@ -435,7 +435,13 @@ export default {
state.selectedRows.forEach((item) => {
let origin = JSON.parse(props.chooseProjectList);
console.log("ccxx", origin);
if(origin==null){
closeSameModal();
closeDrawer();
message.destroy();
message.info("添加成功");
return;
}
if (origin.length == 0) {
//可以直接添加到任务列表里
updateTask(item);