提交 62cafbb9 编写于 作者: C CheungVane

remove top level await

Signed-off-by: Nzhangwenzhi <zhangwenzhi3@huawei.com>
上级 0d0ffcc6
...@@ -1432,7 +1432,7 @@ let keyAlias = 'keyAlias'; ...@@ -1432,7 +1432,7 @@ let keyAlias = 'keyAlias';
let emptyOptions = { let emptyOptions = {
properties: [] properties: []
}; };
await huks.isKeyItemExist(keyAlias, emptyOptions).then((data) => { huks.isKeyItemExist(keyAlias, emptyOptions).then((data) => {
promptAction.showToast({ promptAction.showToast({
message: "keyAlias: " + keyAlias +"is existed!", message: "keyAlias: " + keyAlias +"is existed!",
duration: 500, duration: 500,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册