mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-09 16:50:26 +08:00
优化HTTP Header管理界面交互
This commit is contained in:
@@ -117,10 +117,10 @@ Vue.component("http-header-policy-box", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
template: `<div>
|
template: `<div>
|
||||||
<first-menu>
|
<div class="ui menu tabular small">
|
||||||
<a class="item" :class="{active:type == 'request'}" @click.prevent="selectType('request')">请求Header</a>
|
<a class="item" :class="{active:type == 'request'}" @click.prevent="selectType('request')">请求Header<span v-if="requestSettingHeaders.length > 0">({{requestSettingHeaders.length}})</span></a>
|
||||||
<a class="item" :class="{active:type == 'response'}" @click.prevent="selectType('response')">响应Header</a>
|
<a class="item" :class="{active:type == 'response'}" @click.prevent="selectType('response')">响应Header<span v-if="responseSettingHeaders.length > 0">({{responseSettingHeaders.length}})</span></a>
|
||||||
</first-menu>
|
</div>
|
||||||
|
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user