From c3dc848b1a237858b06f1f2a0f50b60c95129af7 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Fri, 2 Oct 2020 14:49:20 +0800 Subject: [PATCH] feat: update commit message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新图片上传的 commit message --- src/api/file.js | 2 +- src/components/CodemirrorEditor/uploadImgDialog.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/file.js b/src/api/file.js index e0c1a49..110067e 100644 --- a/src/api/file.js +++ b/src/api/file.js @@ -72,7 +72,7 @@ async function ghFileUpload(content, filename) { headers: config.headers, data: { branch: config.branch || 'master', - message: 'Upload by https://doocs.github.io/md', + message: `Upload by ${window.location.href}`, content: content } }); diff --git a/src/components/CodemirrorEditor/uploadImgDialog.vue b/src/components/CodemirrorEditor/uploadImgDialog.vue index d623948..e30cd40 100644 --- a/src/components/CodemirrorEditor/uploadImgDialog.vue +++ b/src/components/CodemirrorEditor/uploadImgDialog.vue @@ -55,7 +55,7 @@ + placeholder="如:img,可不填,默认为根目录"> 如何使用阿里云 OSS?