安全设置增加允许访问的国家地区、省份、是否局域网访问

This commit is contained in:
刘祥超
2020-11-20 21:59:12 +08:00
parent 8d8460c3fe
commit 3ec89a432c
25 changed files with 609 additions and 49 deletions

View File

@@ -15,6 +15,27 @@
<p class="comment">当前服务被别的网页框架嵌套的条件限制。</p>
</td>
</tr>
<tr>
<td>允许访问的国家和地区</td>
<td>
<countries-selector :v-countries="countries"></countries-selector>
<p class="comment">设置后,只有这些国家和地区才能访问管理界面,如果不设置表示没有限制。</p>
</td>
</tr>
<tr>
<td>允许访问的省份(中国)</td>
<td>
<provinces-selector :v-provinces="provinces"></provinces-selector>
<p class="comment">设置后,只有这些省份才能访问管理界面,如果不设置表示没有限制。</p>
</td>
</tr>
<tr>
<td>允许局域网访问</td>
<td>
<checkbox name="allowLocal" v-model="config.allowLocal"></checkbox>
<p class="comment">选中表示允许在本机和局域网访问。</p>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>