From 73b0f2ca5a4e7da38ddf320827fb69409426a6fa Mon Sep 17 00:00:00 2001 From: yanglbme Date: Thu, 12 Nov 2020 10:07:30 +0800 Subject: [PATCH] feat: update component --- README.md | 6 +- .../CodemirrorEditor/uploadImgDialog.vue | 94 +++++++++---------- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index 150ebed..df61e76 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,9 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章 | # | 图床 | 使用时是否需要配置 | 备注 | | --- | ----------- | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- | -| 1 | 默认图床 | 否 | - | -| 2 | GitHub 图床 | 配置 `Repo`、`Token` 参数 | [如何获取 GitHub token?](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) | -| 3 | Gitee 图床 | 配置 `Repo`、`Token` 参数 | 不支持上传超过 1MB 的图片 | +| 1 | 默认 | 否 | - | +| 2 | Gitee | 配置 `Repo`、`Token` 参数 | 图片超过 1MB 无法正常展示 | +| 3 | GitHub | 配置 `Repo`、`Token` 参数 | [如何获取 GitHub token?](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) | | 4 | 阿里云 OSS | 配置 `AccessKey ID`、`AccessKey Secret`、`Bucket`、`Region` 等参数 | [如何使用阿里云 OSS?](https://help.aliyun.com/document_detail/31883.html) | | 5 | 腾讯云 COS | 配置 `SecretId`、`SecretKey`、`Bucket`、`Region` 等参数 | [如何使用腾讯云 COS?](https://cloud.tencent.com/document/product/436/38484) | | 6 | 七牛云 Kodo | 配置 `AccessKey`、`SecretKey`、`Bucket`、`Domain`、`Region` 等参数 | [如何使用七牛云 Kodo?](https://developer.qiniu.com/kodo) | diff --git a/src/components/CodemirrorEditor/uploadImgDialog.vue b/src/components/CodemirrorEditor/uploadImgDialog.vue index e423353..55fe3ad 100644 --- a/src/components/CodemirrorEditor/uploadImgDialog.vue +++ b/src/components/CodemirrorEditor/uploadImgDialog.vue @@ -39,48 +39,6 @@ - - - - - - - - - - - 如何获取 GitHub Token? - - - 保存配置 - - - + + + + + + + + + + + 如何获取 GitHub Token? + + + 保存配置 + + +