mirror of
https://gitee.com/openharmony/applications_dlp_manager
synced 2024-11-23 01:49:46 +00:00
Signed-off-by: ml <mengli12@huawei.com>
This commit is contained in:
parent
4b7fed8932
commit
c3ceb97b3b
@ -421,8 +421,7 @@ struct DlpDialog {
|
||||
HiLog.info(TAG, `unlink fail: ${JSON.stringify(err)}`);
|
||||
}
|
||||
await this.sendDlpFileCreateFault(102, (err.toString())); // 102: DLP_FILE_CREATE_ERROR
|
||||
let errorInfo =
|
||||
{'title': '', 'msg': $r('app.string.MESSAGE_SERVICE_INSIDE_ERROR') } as Record<string, string | Resource>;
|
||||
let errorInfo = GetAlertMessage.getAlertMessage({ code: err } as BusinessError);
|
||||
this.showErrorDialog(errorInfo.title, errorInfo.msg);
|
||||
this.processing = false;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user