|
@@ -588,6 +588,7 @@ module.exports = app => {
|
|
|
if (detailAtt && detailAtt.length > 0) {
|
|
|
for (const da of detailAtt) {
|
|
|
for (const daa of da.attachment) {
|
|
|
+ console.log(daa);
|
|
|
if (fs.existsSync(path.join(this.app.baseDir, daa.filepath))) {
|
|
|
await fs.unlinkSync(path.join(this.app.baseDir, daa.filepath));
|
|
|
}
|