ui: header改为多行textarea+URL限宽
This commit is contained in:
@@ -92,8 +92,8 @@
|
||||
<div style="flex:1"></div>
|
||||
<el-button size="small" type="danger" text @click="remove(idx)">删除</el-button>
|
||||
</div>
|
||||
<el-input v-model="entry.url" size="small" placeholder="URL,支持{base}{keyword}{page}{id}{passkey}" @input="syncToJson" style="margin-bottom:6px" />
|
||||
<el-input v-model="entry.headers" size="small" placeholder="Headers: key:value,key:value(可选)" @input="syncToJson" style="margin-bottom:6px" />
|
||||
<el-input v-model="entry.url" size="small" placeholder="URL模板,支持{base}{keyword}{page}{id}{passkey}" @input="syncToJson" style="margin-bottom:6px;max-width:500px" />
|
||||
<el-input v-model="entry.headers" size="small" type="textarea" :rows="2" placeholder="自定义Header,每行一个 key: value" @input="syncToJson" style="margin-bottom:6px;max-width:500px" />
|
||||
<el-input v-if="entry.method==='POST'" v-model="entry.body" size="small" type="textarea" :rows="2" placeholder="POST Body(可选)" @input="syncToJson" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user