diff --git a/zh-cn/application-dev/ui/arkts-common-components-switch.md b/zh-cn/application-dev/ui/arkts-common-components-switch.md index 1546ba584f4235c062d96ca6f820b986073786bd..251dfadc90ed9ef70c81f6187c27f7548a690d86 100644 --- a/zh-cn/application-dev/ui/arkts-common-components-switch.md +++ b/zh-cn/application-dev/ui/arkts-common-components-switch.md @@ -111,7 +111,7 @@ Toggle可用于切换蓝牙开关状态。 ```ts // xxx.ets -import prompt from '@ohos.promptAction'; +import promptAction from '@ohos.promptAction'; @Entry @Component struct ToggleExample {