diff --git a/features/screenlock/src/main/ets/com/ohos/model/screenLockModel.ts b/features/screenlock/src/main/ets/com/ohos/model/screenLockModel.ts index 8294ef7..fa4f5a5 100644 --- a/features/screenlock/src/main/ets/com/ohos/model/screenLockModel.ts +++ b/features/screenlock/src/main/ets/com/ohos/model/screenLockModel.ts @@ -64,13 +64,13 @@ export default class ScreenLockModel { hiddenScreenLockWindow(callback: Callback) { Log.showInfo(TAG, `window hide`); + AppStorage.SetOrCreate('isWallpaperShow', false); Trace.end(Trace.CORE_METHOD_PASS_ACCOUNT_SYSTEM_RESULT); windowManager.find(Constants.WIN_NAME).then((win) => { Trace.start(Trace.CORE_METHOD_HIDE_PSD_PAGE); win.hide().then(() => { Log.showInfo(TAG, `window hide`); callback(); - AppStorage.SetOrCreate('isWallpaperShow', false); }) }) }