diff --git a/zh-cn/application-dev/database/data-sync-of-kv-store.md b/zh-cn/application-dev/database/data-sync-of-kv-store.md index 14a5cdf0ec94f323f49a0d94d7084aa3b1a5289c..4f866f62726e04541d274081390e4f83c31762ee 100644 --- a/zh-cn/application-dev/database/data-sync-of-kv-store.md +++ b/zh-cn/application-dev/database/data-sync-of-kv-store.md @@ -160,8 +160,9 @@ encrypt: false, backup: false, autoSync: false, + // kvStoreType不填时,默认创建多设备协同数据库 kvStoreType: distributedKVStore.KVStoreType.SINGLE_VERSION, - // 设备协同数据库:kvStoreType: distributedKVStore.KVStoreType.DEVICE_COLLABORATION, + // 多设备协同数据库:kvStoreType: distributedKVStore.KVStoreType.DEVICE_COLLABORATION, securityLevel: distributedKVStore.SecurityLevel.S1 }; kvManager.getKVStore('storeId', options, (err, kvStore) => {