Skip to content

Commit 6baa4ca

Browse files
committed
upd:sdk运行环境错误提示文案修改
1 parent cc3d923 commit 6baa4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/cos.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ var COS = function (options) {
6060
console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").');
6161
}
6262
if (util.isWeb()) {
63-
console.warn('warning: cos-nodejs-sdk-v5 不支持浏览器使用,浏览器调用 COS API 请使用 cos-js-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/11459');
64-
console.warn('warning: cos-nodejs-sdk-v5 does not support browsers. Please use cos-js-sdk-v5 when browsers call COS API, Refer to the following document: https://cloud.tencent.com/document/product/436/11459');
63+
console.warn('warning: cos-nodejs-sdk-v5 不支持浏览器使用,请改用 cos-js-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/11459');
64+
console.warn('warning: cos-nodejs-sdk-v5 does not support browsers. Please use cos-js-sdk-v5 instead, See: https://cloud.tencent.com/document/product/436/11459');
6565
}
6666
event.init(this);
6767
task.init(this);

0 commit comments

Comments
 (0)