优化代码/自动去除域名中的http://和https://等,防止误填

This commit is contained in:
GoEdgeLab
2022-07-17 17:12:44 +08:00
parent c6e3c44e71
commit 2ec8188c37
10 changed files with 65 additions and 30 deletions

View File

@@ -9,14 +9,14 @@
<td class="title">单个域名 *</td>
<td>
<input type="text" name="serverName" ref="focus" maxlength="1024" v-model="serverName.name"/>
<p class="comment">请输入单个域名。</p>
<p class="comment">请输入单个域名,域名中<strong>不能</strong>包含<code-label>http</code-label><code-label>https</code-label></p>
</td>
</tr>
<tr v-if="mode == 'multiple'">
<td class="title">多个域名 *</td>
<td>
<textarea name="serverNames" ref="serverNames" v-model="multipleServerNames"></textarea>
<p class="comment">每行一个域名。</p>
<p class="comment">每行一个域名,域名中<strong>不能</strong>包含<code-label>http</code-label><code-label>https</code-label></p>
</td>
</tr>
</table>