Fix code consistency issues in yellow and blue areas

Signed-off-by: imp9527 <liumingxin4@h-partners.com>
This commit is contained in:
imp9527 2024-07-15 21:20:05 +08:00
parent 536605a9b0
commit 8c5be3473e
3 changed files with 4 additions and 3 deletions

View File

@ -17,6 +17,6 @@ import AbilityStage from '@ohos.app.ability.AbilityStage';
export default class MyAbilityStage extends AbilityStage {
onCreate() {
console.log('[Demo] MyAbilityStage onCreate')
console.log('[Demo] MyAbilityStage onCreate');
}
}

View File

@ -20,7 +20,7 @@ import rpc from '@ohos.rpc';
export default class WindowExtAbility extends Extension {
onWindowReady(window) {
window.setUIContent('WindowExtAbility/pages/index1').then(() => {
let pro = window.getWindowProperties()
let pro = window.getWindowProperties();
console.log("WindowExtension " + JSON.stringify(pro));
window.showWindow();
})

View File

@ -79,8 +79,9 @@ private:
napi_value OnGetUIContext(napi_env env, napi_callback_info info);
napi_value OnSetWindowBrightness(napi_env env, napi_callback_info info);
napi_value OnSetWindowKeepScreenOn(napi_env env, napi_callback_info info);
napi_value OnCreateSubWindowWithOptions(napi_env env, napi_callback_info info);
napi_value OnSetWaterMarkFlag(napi_env env, napi_callback_info info);
napi_value OnCreateSubWindowWithOptions(napi_env env, napi_callback_info info);
static napi_value GetProperties(napi_env env, napi_callback_info info);