From faca068529bd3170a2a70c12b7da8a7c9742264d Mon Sep 17 00:00:00 2001 From: yanglbme Date: Mon, 9 Nov 2020 00:43:19 +0000 Subject: [PATCH] docs: prettify code --- README.md | 2 +- src/components/CodemirrorEditor/uploadImgDialog.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fd942a..78250ea 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章 | 2 | GitHub 图床 | 配置 `Repo`、`Token` 参数 | [如何获取 GitHub token?](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) | | 3 | 阿里云 OSS | 配置 `AccessKey ID`、`AccessKey Secret`、`Bucket`、`Region` 等参数 | [如何使用阿里云 OSS?](https://help.aliyun.com/document_detail/31883.html) | | 4 | 腾讯云 COS | 配置 `SecretId`、`SecretKey`、`Bucket`、`Region` 等参数 | [如何使用腾讯云 COS?](https://cloud.tencent.com/document/product/436/38484) | -| 5 | 七牛云 Kodo | 配置 `AccessKey`、`SecretKey`、`Bucket`、`Domain`、`Region` 等参数 | [如何使用七牛云 Kodo?](https://developer.qiniu.com/kodo) | +| 5 | 七牛云 Kodo | 配置 `AccessKey`、`SecretKey`、`Bucket`、`Domain`、`Region` 等参数 | [如何使用七牛云 Kodo?](https://developer.qiniu.com/kodo) | ![select-and-change-color-theme](./public/assets/images/select-and-change-color-theme.gif) diff --git a/src/components/CodemirrorEditor/uploadImgDialog.vue b/src/components/CodemirrorEditor/uploadImgDialog.vue index 0952d01..5c8e6bf 100644 --- a/src/components/CodemirrorEditor/uploadImgDialog.vue +++ b/src/components/CodemirrorEditor/uploadImgDialog.vue @@ -497,7 +497,7 @@ export default { errMessage = checkRes ? "" : "请先配置腾讯云 COS 参数"; break; case "qiniu": - checkRes = + checkRes = this.formQiniu.accessKey && this.formQiniu.secretKey && this.formQiniu.bucket &&