优化HTTP报头界面

This commit is contained in:
刘祥超
2023-07-03 15:21:46 +08:00
parent 3218760f84
commit dd6b8b7157
4 changed files with 15 additions and 5 deletions

View File

@@ -1,8 +1,10 @@
{$layout "layout_popup"}
<h3>设置报头</h3>
<h3 v-if="type == 'request'">添加自定义请求报头</h3>
<h3 v-if="type == 'response'">添加自定义响应报头</h3>
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="headerPolicyId" :value="headerPolicyId"/>
<input type="hidden" name="type" :value="type"/>
<table class="ui table definition selectable">
<tr>
<td class="title">报头名称<em>Name</em> *</td>

View File

@@ -1,9 +1,11 @@
{$layout "layout_popup"}
<h3>修改报头</h3>
<h3 v-if="type == 'request'">修改自定义请求报头</h3>
<h3 v-if="type == 'response'">修改自定义响应报头</h3>
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="headerPolicyId" :value="headerPolicyId"/>
<input type="hidden" name="headerId" :value="headerId"/>
<input type="hidden" name="type" :value="type"/>
<table class="ui table definition selectable">
<tr>
<td class="title">报头名称<em>Name</em> *</td>