2021-07-29 16:51:22 +08:00
|
|
|
{$layout "layout"}
|
|
|
|
|
{$template "/code_editor"}
|
|
|
|
|
{$template "policy_menu"}
|
|
|
|
|
|
2021-07-29 17:33:42 +08:00
|
|
|
<form class="ui form" data-tea-action="$" data-tea-success="success" data-tea-timeou="30" data-tea-done="done" data-tea-before="before">
|
2021-07-29 16:51:22 +08:00
|
|
|
<input type="hidden" name="policyId" :value="policy.id"/>
|
|
|
|
|
<table class="ui table definition selectable">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="title">发送内容</td>
|
|
|
|
|
<td>
|
|
|
|
|
<source-code-box id="json-data-box" type="application/json" :read-only="false" name="bodyJSON">{
|
|
|
|
|
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36"
|
|
|
|
|
}</source-code-box>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2021-07-29 17:33:42 +08:00
|
|
|
<submit-btn v-if="!isRequesting"></submit-btn>
|
|
|
|
|
<button class="ui button disabled" type="button" v-if="isRequesting">发送中...</button>
|
2021-07-29 16:51:22 +08:00
|
|
|
</form>
|