A git url tips

This commit is contained in:
张臻 2021-02-07 16:38:15 +08:00
parent 4d4b5189b6
commit 2d85e5ef66
2 changed files with 34 additions and 1 deletions

View File

@ -1,5 +1,29 @@
# 更新日志
## 1.1.6
*2021-02-07*
### New features
- add ssh key path
- server host support domain
### Optimization
- add git url tips
- delete server install module
## 1.1.5
*2021-01-20*
### Optimization
- deploy detail filters
### Bug fixes
- fix detail loading
- fix missing sql
## 1.1.4
*2021-01-07*

View File

@ -92,7 +92,16 @@
<el-form-item :label="$t('name')" prop="name">
<el-input v-model.trim="formData.name" autocomplete="off" placeholder="goploy" />
</el-form-item>
<el-form-item :label="$t('projectURL')" prop="url">
<el-form-item prop="url">
<span slot="label">{{ $t('projectURL') }}
<el-tooltip placement="top">
<div slot="content">
ssh://[username:password@]host.xz[:port]/path/to/repo.git/<br>
git@host.xz[:port]/path/to/repo.git/<br>
http[s]://[username:password@]host.xz[:port]/path/to/repo.git/</div>
<i class="el-icon-question" />
</el-tooltip>
</span>
<el-row type="flex">
<el-input v-model.trim="formData.url" autocomplete="off" placeholder="HTTPS、HTTP、SSH" @change="formProps.branch = []" />
<el-button