diff --git a/zh-cn/application-dev/reference/apis/js-apis-colorSpaceManager.md b/zh-cn/application-dev/reference/apis/js-apis-colorSpaceManager.md index 0f881ebc86ce35fbf5b026f6714b627580a3afbd..c896b592a71783d9d83431e2d7c95dadefde9099 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-colorSpaceManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-colorSpaceManager.md @@ -142,7 +142,7 @@ getColorSpaceName(): ColorSpace ```js try { - let csType = colorSpace.getColorSpaceName(); + colorSpace.getColorSpaceName(); } catch (err) { console.log(`Fail to get colorSpace's name. Cause: ` + JSON.stringify(err)); } @@ -166,7 +166,7 @@ getWhitePoint(): Array\ ```js try { - let wp = colorSpace.getWhitePoint(); + colorSpace.getWhitePoint(); } catch (err) { console.log(`Failed to get white point. Cause: ` + JSON.stringify(err)); } @@ -190,9 +190,8 @@ getGamma(): number ```js try { - let gamma = colorSpace.getGamma(); + colorSpace.getGamma(); } catch (err) { console.log(`Failed to get gamma. Cause: ` + JSON.stringify(err)); } -``` - +``` \ No newline at end of file