提交 b5275d5a 编写于 作者: L lvxiaoqiang

fix import error

Signed-off-by: Nlvxiaoqiang <lvxiaoqiang1@huawei.com>
上级 b8940740
......@@ -62,7 +62,7 @@ Obtains the value of a data item.
- Example
```typescript
import featureAbility from '@ohos.featureAbility';
import featureAbility from '@ohos.ability.featureAbility';
// Obtain the value of 'settings.screen.brightness' (this data item already exists in the database).
let brightness = 'settings.screen.brightness';
......@@ -97,7 +97,7 @@ If the specified data item exists in the database, the **setValueSync** method u
- Example
```typescript
import featureAbility from '@ohos.featureAbility';
import featureAbility from '@ohos.ability.featureAbility';
// Update the value of 'settings.screen.brightness'. (As this data item exists in the database, the setValueSync
method will update the value of the data item.)
......
......@@ -62,7 +62,7 @@ getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: strin
- 示例:
```typescript
import featureAbility from '@ohos.featureAbility';
import featureAbility from '@ohos.ability.featureAbility';
//获取数据项亮度的值(该数据项在数据库中已存在)
let brightness = 'settings.screen.brightness';
......@@ -97,7 +97,7 @@ setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string):
- 示例:
```typescript
import featureAbility from '@ohos.featureAbility';
import featureAbility from '@ohos.ability.featureAbility';
//更新数据项亮度的值(该数据项在数据库中已存在,故setValueSync方法将更新该数据项的值)
let brightness = 'settings.screen.brightness';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册