提交 9973592f 编写于 作者: H Haoming Luo

修改Log内容:getStringByName改为getStringValue

Signed-off-by: NHaoming Luo <mzfslhm@163.com>
上级 b7fdcf2f
......@@ -162,10 +162,10 @@ struct Index {
// 先通过当前上下文获取hsp模块的上下文,再获取hsp模块的resourceManager,然后再调用resourceManager的接口获取资源
getContext().createModuleContext('library').resourceManager.getStringValue(ResManager.getDesc())
.then(value => {
console.log("getStringByName value is " + value);
console.log("getStringValue is " + value);
})
.catch(error => {
console.log("getStringByName promise error is " + error);
console.log("getStringValue promise error is " + error);
});
})
.width("50%")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册