diff --git a/halfscreenlaunchcomponent/interfaces/halfscreenlaunchcomponent.js b/halfscreenlaunchcomponent/interfaces/halfscreenlaunchcomponent.js index 090492f9c8ef8351643729c164943a2210d3ce44..51c24329f2e21e43fceb0e5057a4bb5cb5019111 100644 --- a/halfscreenlaunchcomponent/interfaces/halfscreenlaunchcomponent.js +++ b/halfscreenlaunchcomponent/interfaces/halfscreenlaunchcomponent.js @@ -169,6 +169,7 @@ export class HalfScreenLaunchComponent extends ViewPU { }); } catch (err) { hilog.error(0x3900, LOG_TAG, 'AtomicServiceStartupRule failed: %{public}s', err.message); + this.popUp(); } } async popUp() { diff --git a/halfscreenlaunchcomponent/source/halfscreenlaunchcomponent.ets b/halfscreenlaunchcomponent/source/halfscreenlaunchcomponent.ets index 45f07ae930a039b618f461f854eb52a81de6a9cb..778d8a0cd567f642249f52c7965061d3d3a5f941 100644 --- a/halfscreenlaunchcomponent/source/halfscreenlaunchcomponent.ets +++ b/halfscreenlaunchcomponent/source/halfscreenlaunchcomponent.ets @@ -130,6 +130,7 @@ export struct HalfScreenLaunchComponent { }); } catch (err: BusinessError) { hilog.error(0x3900, LOG_TAG, 'AtomicServiceStartupRule failed: %{public}s', err.message); + this.popUp(); } } diff --git a/innerfullscreenlaunchcomponent/interfaces/innerfullscreenlaunchcomponent.js b/innerfullscreenlaunchcomponent/interfaces/innerfullscreenlaunchcomponent.js index d63004607ab2850b31d48297d1034330ca39564a..36ac1f15cc8402cbe56377f6d7e41b4e932ba9e2 100644 --- a/innerfullscreenlaunchcomponent/interfaces/innerfullscreenlaunchcomponent.js +++ b/innerfullscreenlaunchcomponent/interfaces/innerfullscreenlaunchcomponent.js @@ -181,6 +181,7 @@ export class InnerFullScreenLaunchComponent extends ViewPU { } catch (err) { hilog.error(0x3900, LOG_TAG, 'AtomicServiceStartupRule failed: %{public}s', err.message); + this.popUp(); } } async popUp() { diff --git a/innerfullscreenlaunchcomponent/source/innerfullscreenlaunchcomponent.ets b/innerfullscreenlaunchcomponent/source/innerfullscreenlaunchcomponent.ets index 6fd1e7a0338b7b023bde4d192c2beb286976650d..3c8d260955037d4b7a9437513299f40afe27ac8b 100644 --- a/innerfullscreenlaunchcomponent/source/innerfullscreenlaunchcomponent.ets +++ b/innerfullscreenlaunchcomponent/source/innerfullscreenlaunchcomponent.ets @@ -142,6 +142,7 @@ export struct InnerFullScreenLaunchComponent { }); } catch (err: BusinessError) { hilog.error(0x3900, LOG_TAG, 'AtomicServiceStartupRule failed: %{public}s', err.message); + this.popUp(); } }