mirror of
https://gitee.com/openharmony/arkui_advanced_ui_component
synced 2024-11-23 07:09:58 +00:00
commit
73bf5eb90a
@ -247,7 +247,6 @@ export struct AtomicServiceWeb {
|
||||
return true;
|
||||
}
|
||||
url = this.cutUrl(url);
|
||||
console.log(`AtomicServiceWebLog checkUrl url=${url}`);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -190,6 +190,8 @@ export class InnerFullScreenLaunchComponent extends ViewPU {
|
||||
flags: this.options?.flags,
|
||||
parameters: this.options?.parameters
|
||||
});
|
||||
UIExtensionComponent.backgroundColor({ 'id': -1, 'type': 10001, params: ['sys.color.ohos_id_color_titlebar_bg'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' });
|
||||
UIExtensionComponent.defaultFocus(true);
|
||||
UIExtensionComponent.height('100%');
|
||||
UIExtensionComponent.width('100%');
|
||||
UIExtensionComponent.onRelease(() => {
|
||||
|
@ -151,6 +151,8 @@ export struct InnerFullScreenLaunchComponent {
|
||||
flags: this.options?.flags,
|
||||
parameters: this.options?.parameters
|
||||
})
|
||||
.backgroundColor($r('sys.color.ohos_id_color_titlebar_bg'))
|
||||
.defaultFocus(true)
|
||||
.height('100%')
|
||||
.width('100%')
|
||||
.onRelease(
|
||||
|
@ -28,7 +28,7 @@ public:
|
||||
static int32_t SilentInstall(const std::string& moduleName, const std::function<void()>& callback,
|
||||
const std::function<void(int32_t, const std::string&)>& silentInstallErrorCallBack);
|
||||
static bool IsHspExist(const std::string& moduleName, const std::string& pathName);
|
||||
static void InitRouteMap();
|
||||
static void UpdateRouteMap();
|
||||
|
||||
private:
|
||||
static OHOS::sptr<OHOS::AppExecFwk::IBundleMgr> GetBundleManager();
|
||||
|
@ -26,7 +26,7 @@ class HspSilentInstallNapi {
|
||||
public:
|
||||
static napi_value SilentInstall(napi_env env, napi_callback_info info);
|
||||
static napi_value IsHspExist(napi_env env, napi_callback_info info);
|
||||
static napi_value InitRouteMap(napi_env env, napi_callback_info info);
|
||||
static napi_value UpdateRouteMap(napi_env env, napi_callback_info info);
|
||||
|
||||
private:
|
||||
struct CallbackData {
|
||||
|
Loading…
Reference in New Issue
Block a user