mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-09 08:40:26 +08:00
上传js
This commit is contained in:
@@ -1924,7 +1924,8 @@ Vue.component("ssl-config-box", {
|
||||
hsts: null,
|
||||
cipherSuitesIsOn: false,
|
||||
cipherSuites: [],
|
||||
http2Enabled: true
|
||||
http2Enabled: true,
|
||||
ocspIsOn: false
|
||||
}
|
||||
} else {
|
||||
if (policy.certRefs == null) {
|
||||
@@ -2401,6 +2402,14 @@ Vue.component("ssl-config-box", {
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- OCSP -->
|
||||
<tr>
|
||||
<td>OCSP Stapling</td>
|
||||
<td><checkbox name="ocspIsOn" v-model="policy.ocspIsOn"></checkbox>
|
||||
<p class="comment">选中表示启用OCSP Stapling。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- 客户端认证 -->
|
||||
<tr>
|
||||
<td>客户端认证方式</td>
|
||||
@@ -4309,10 +4318,6 @@ Vue.component("http-cache-refs-config-box", {
|
||||
callback: function (resp) {
|
||||
resp.data.cacheRef.id = that.refs[index].id
|
||||
Vue.set(that.refs, index, resp.data.cacheRef)
|
||||
|
||||
// 通知子组件更新
|
||||
that.$refs.cacheRef[index].notifyChange()
|
||||
|
||||
that.change()
|
||||
}
|
||||
})
|
||||
@@ -8239,11 +8244,11 @@ Vue.component("http-access-log-search-box", {
|
||||
<div class="ui field">
|
||||
<div class="ui input left right labeled small">
|
||||
<span class="ui label basic" style="font-weight: normal">关键词</span>
|
||||
<input type="text" name="keyword" v-model="keyword" placeholder="路径、UserAgent等..." size="18"/>
|
||||
<input type="text" name="keyword" v-model="keyword" placeholder="路径、UserAgent等..." size="30"/>
|
||||
<a class="ui label basic" :class="{disabled: keyword.length == 0}" @click.prevent="cleanKeyword"><i class="icon remove small"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<slot></slot>
|
||||
<div class="ui field"><tip-icon content="一些特殊的关键词:<br/>单个状态码:status:200<br/>状态码范围:status:500-504<br/>查询IP:ip:192.168.1.100"></tip-icon></div>
|
||||
</div>
|
||||
<div class="ui fields inline" style="margin-top: 0.5em">
|
||||
<div class="ui field">
|
||||
@@ -8252,6 +8257,7 @@ Vue.component("http-access-log-search-box", {
|
||||
<div class="ui field" v-if="clusterId > 0">
|
||||
<node-combo-box :v-cluster-id="clusterId" :v-node-id="vNodeId"></node-combo-box>
|
||||
</div>
|
||||
<slot></slot>
|
||||
<div class="ui field">
|
||||
<button class="ui button small" type="submit">搜索日志</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user