未验证 提交 ce230f43 编写于 作者: L lixinyi1094590959 提交者: Gitee

update KvStoreBackupPromiseJsTest.js.

Signed-off-by: Nlixinyi1094590959 <lixinyi38@huawei.com>
上级 e8668f44
......@@ -150,7 +150,7 @@ function publicRestoreSp(kvStore,file){
function publicRestore(kvStore){
console.log(`Test restore `)
return new Promise(function(resolve, reject) {
kvStore.restore.then((data) => {
kvStore.restore().then((data) => {
console.log("Test restore backupinfo information: " + JSON.stringify(data) );
resolve(data);
}).catch((err) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册