build: release v1.3.7

This commit is contained in:
yanglbme 2020-08-31 19:45:29 +08:00
parent b0e07d9ab8
commit f7e845be12
2 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "vue-md", "name": "vue-md",
"version": "1.3.6", "version": "1.3.7",
"private": true, "private": true,
"homepage": "https://doocs.gitee.io/md", "homepage": "https://doocs.gitee.io/md",
"scripts": { "scripts": {

View File

@ -29,22 +29,23 @@
<!-- <div class="el-upload__tip" slot="tip">只能上传jpg/png文件且不超过500kb</div> --> <!-- <div class="el-upload__tip" slot="tip">只能上传jpg/png文件且不超过500kb</div> -->
</el-upload> </el-upload>
</el-tab-pane> </el-tab-pane>
<el-tab-pane class="github-panel" label="GitHub图床" name="github"> <el-tab-pane class="github-panel" label="GitHub 图床" name="github">
<el-form <el-form
class="setting-form" class="setting-form"
ref="form" ref="form"
:model="formGitHub" :model="formGitHub"
label-position="right" label-position="right"
label-width="100px" label-width="80px"
> >
<el-form-item label="用户名:"> <el-form-item label="用户名">
<el-input v-model="formGitHub.username" placeholder="如yanglbme"></el-input> <el-input v-model="formGitHub.username" placeholder="如yanglbme"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="仓库名:"> <el-form-item label="仓库名">
<el-input v-model="formGitHub.repo" placeholder="如resource"></el-input> <el-input v-model="formGitHub.repo" placeholder="如resource"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="token:"> <el-form-item label="token">
<el-input v-model="formGitHub.accessToken" placeholder="如cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"></el-input> <el-input v-model="formGitHub.accessToken" placeholder="如cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"></el-input>
<el-link type="primary" href="https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token" target="_blank">如何获取 GitHub token</el-link>
</el-form-item> </el-form-item>
<!-- <el-form-item label="jsDelivr CDN:"> <!-- <el-form-item label="jsDelivr CDN:">
<el-checkbox v-model="formGitHub.useCDN"></el-checkbox> <el-checkbox v-model="formGitHub.useCDN"></el-checkbox>
@ -138,7 +139,7 @@ export default {
case "github": case "github":
const { username, repo, accessToken } = this.formGitHub; const { username, repo, accessToken } = this.formGitHub;
if (!username || !repo || !accessToken) { if (!username || !repo || !accessToken) {
this.$message.error("未配置GitHub参数"); this.$message.error("未配置 GitHub 参数");
return false; return false;
} }
} }