This commit is contained in:
Xu Chang 2022-05-24 19:22:31 +08:00
parent 9d3016e737
commit e8e4281392
1 changed files with 7 additions and 1 deletions

View File

@ -178,7 +178,13 @@ Component({
title: '确认删除吗',
content: '删除现有文件',
});
console.log(result);
const { confirm } = result;
if (confirm) {
features.runningNode.removeNode({
parent: this.data.oakFullpath,
path: `${index}`,
});
}
}
},
},