This commit is contained in:
GoEdgeLab
2024-07-27 15:42:58 +08:00
parent 7279dc873f
commit d7d0c8fbfe
490 changed files with 2158 additions and 738 deletions

View File

@@ -18,7 +18,7 @@
</div>
</td>
</tr>
<tr>
<tr v-if="!asyncCreateCert">
<td>证书用户 *</td>
<td>
<div v-if="users.length > 0">
@@ -35,6 +35,24 @@
</div>
</td>
</tr>
<tr>
<td>异步申请证书</td>
<td>
<checkbox name="asyncCreateCert" v-model="asyncCreateCert">启用</checkbox>
<p class="comment">建议域名多的时候勾选,异步并发执行证书申请,申请成功后会自动绑定到服务</p>
</td>
</tr>
<tr v-if="asyncCreateCert">
<td>证书类型</td>
<td class="ui fields inline">
<div class="ui field">
<select class="ui dropdown" name="providerCode" v-model="providerCode">
<option value="letsencrypt">Let's Encrypt</option>
</select>
</div>
<p class="comment">选择证书类型。</p>
</td>
</tr>
</table>
<submit-btn v-if="!isRequesting">提交</submit-btn>

View File

@@ -1,6 +1,8 @@
Tea.context(function () {
this.isRequesting = false
this.userId = 0
this.asyncCreateCert = false
this.providerCode = "letsencrypt"
this.remove = function (index) {
this.serverNames.$remove(index)