diff --git a/ArkUI/entry/src/main/ets/pages/SetWindowPrivacyModeInPage.ets b/ArkUI/entry/src/main/ets/pages/SetWindowPrivacyModeInPage.ets index 1f95bef18218adc9997c9623e7bf55fce804c765..2c9e738ab7d4ebb001d0883b670e4e0720a2845f 100644 --- a/ArkUI/entry/src/main/ets/pages/SetWindowPrivacyModeInPage.ets +++ b/ArkUI/entry/src/main/ets/pages/SetWindowPrivacyModeInPage.ets @@ -28,7 +28,7 @@ class windowUtils { lastWindow.setWindowPrivacyMode(isFlag, (err: BusinessError) => { const errCode: number = err.code; if (errCode) { - console.error('Failed to set the window to privacy mode. 1Cause:' + JSON.stringify(err)); + console.error('Failed to set the window to privacy mode. Cause:' + JSON.stringify(err)); return; } console.info('Succeeded in setting the window to privacy mode.');