!732 告警清零

Merge pull request !732 from wangdongqi/master
This commit is contained in:
openharmony_ci 2023-05-25 11:37:18 +00:00 committed by Gitee
commit bb64223604
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ napi_value JsPanel::SetUiContent(napi_env env, napi_callback_info info)
// if type of argv[1] is object, we will get value of 'storage' from it.
if (argc >= 2) {
napi_valuetype valueType = napi_undefined;
napi_status status = napi_typeof(env, argv[1], &valueType);
status = napi_typeof(env, argv[1], &valueType);
NAPI_ASSERT_BASE(env, status == napi_ok, "get valueType failed!", status);
if (valueType == napi_object) {
NativeValue *storage = nullptr;

View File

@ -49,7 +49,7 @@ export default class ServiceExtAbility extends ServiceExtensionAbility {
console.log(TAG + 'switchInputMethod failed,' + JSON.stringify(err));
prompt.showToast({
message: 'switch failed', duration: 200
})
});
} else {
console.log(TAG + 'switchInputMethod success');
prompt.showToast({