diff --git a/zh-cn/application-dev/reference/apis/js-apis-image.md b/zh-cn/application-dev/reference/apis/js-apis-image.md index 8a5834ef0690a157f70957820dad9dcc27ffa95b..01dff9c157f75030dfaa6fcd14065e57b0b2ca3f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-image.md +++ b/zh-cn/application-dev/reference/apis/js-apis-image.md @@ -949,7 +949,7 @@ createImageSource(uri: string): ImageSource ```js //Stage模型 const context = getContext(this); -const path = context.cacheDir() + "/test.jpg"; +const path = context.cacheDir + "/test.jpg"; const imageSourceApi = image.createImageSource(path); ```