未验证 提交 4b84ec2c 编写于 作者: O openharmony_ci 提交者: Gitee

!19695 修改HUKS示例代码,去除top level await

Merge pull request !19695 from CheungVane/master
......@@ -1432,7 +1432,7 @@ let keyAlias = 'keyAlias';
let emptyOptions = {
properties: []
};
await huks.isKeyItemExist(keyAlias, emptyOptions).then((data) => {
huks.isKeyItemExist(keyAlias, emptyOptions).then((data) => {
promptAction.showToast({
message: "keyAlias: " + keyAlias +"is existed!",
duration: 500,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册