mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-05-11 03:45:27 +08:00
增加简单的安全设置
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
{$layout}
|
||||
|
||||
<p class="comment">此功能暂未开放,敬请期待。</p>
|
||||
<div class="margin"></div>
|
||||
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
|
||||
<csrf-token></csrf-token>
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td class="title">Frame嵌套条件</td>
|
||||
<td>
|
||||
<select class="ui dropdown auto-width" name="frame" v-model="config.frame">
|
||||
<option value="">不限制</option>
|
||||
<option value="SAMEORIGIN">仅限同域名</option>
|
||||
<option value="DENY">完全禁止</option>
|
||||
</select>
|
||||
<p class="comment">当前服务被别的网页框架嵌套的条件限制。</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
3
web/views/@default/settings/security/index.js
Normal file
3
web/views/@default/settings/security/index.js
Normal file
@@ -0,0 +1,3 @@
|
||||
Tea.context(function () {
|
||||
this.success = NotifyReloadSuccess("保存成功")
|
||||
})
|
||||
Reference in New Issue
Block a user