diff --git a/zh-cn/application-dev/database/database-relational-guidelines.md b/zh-cn/application-dev/database/database-relational-guidelines.md index fbf3b1767b115c28b6051d22115414abdae7e742..64398cd48fbdd355d8a40a6f1464b7a553e7333c 100644 --- a/zh-cn/application-dev/database/database-relational-guidelines.md +++ b/zh-cn/application-dev/database/database-relational-guidelines.md @@ -199,7 +199,7 @@ FA模型示例: ```js - import data_rdb from '@ohos.data.rdb' + import data_rdb from '@ohos.data.rdb' // 获取context import featureAbility from '@ohos.ability.featureAbility' let context = featureAbility.getContext() @@ -213,8 +213,8 @@ }) ``` Stage模型示例: - ```js - import data_rdb from '@ohos.data.rdb' + ```ts + import data_rdb from '@ohos.data.rdb' // 获取context import Ability from '@ohos.application.Ability' let context = null