mirror of
https://gitee.com/openharmony/applications_dlp_manager
synced 2024-11-23 09:59:57 +00:00
记事本另存为生成的文件为空文件
Signed-off-by: li-li-wang <wangliliang5@huawei.com>
This commit is contained in:
parent
6f1996fe09
commit
4583e618fe
@ -261,11 +261,6 @@ struct Sa {
|
||||
result.want.parameters.pick_path_return.push(this.resultUri);
|
||||
result.resultCode = 0;
|
||||
fs.closeSync(srcFd);
|
||||
try {
|
||||
await fs.close(file);
|
||||
} catch (err) {
|
||||
console.log(TAG, 'close fail', err.code, err.message);
|
||||
}
|
||||
return;
|
||||
}).catch(async (err) => {
|
||||
console.error(TAG, 'DocumentViewPicker failed', err.code, err.message);
|
||||
|
Loading…
Reference in New Issue
Block a user