未验证 提交 00eb0fe7 编写于 作者: O openharmony_ci 提交者: Gitee

!13442 修复datashare用例调用getRdbStore接口参数问题

Merge pull request !13442 from 牛东尧/master
......@@ -75,7 +75,8 @@ let rdbStore;
export default class DataShareExtAbility extends DataShareExtensionAbility {
onCreate(want, callback) {
rdb.getRdbStore(this.context, {
name: DB_NAME
name: DB_NAME,
securityLevel: rdb.SecurityLevel.S1
}, function (err, data) {
console.log('getRdbStore done, data : ' + data);
rdbStore = data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册