fix(接口测试): 修复接口调试请求头和query排序不生效的问题

--bug=1037113 --user=宋天阳 https://www.tapd.cn/55049933/s/1480520
This commit is contained in:
song-tianyang 2024-03-25 20:06:50 +08:00 committed by Craftsman
parent 1fa7e1c833
commit 6300cdebfd
3 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@
:span-method="props.spanMethod"
:class="!props.selectable && !props.draggable ? 'ms-form-table-no-left-action' : ''"
v-on="propsEvent"
@drag-change="tableChange"
>
<!-- 展开行-->
<template #expand-icon="{ expanded, record }">
@ -286,6 +287,10 @@
}
);
function tableChange() {
emit('change', propsRes.value.data);
}
function emitChange(from: string, isInit?: boolean) {
if (!isInit) {
emit('change', propsRes.value.data);

View File

@ -1007,6 +1007,7 @@
function handleFormTableChange(data: any[]) {
paramsData.value = [...data];
emitChange('handleFormTableChange');
addTableLine(data.length - 1);
}
/**

View File

@ -23,6 +23,7 @@
:columns="columns"
:height-used="heightUsed"
:scroll="{ minWidth: 1160 }"
draggable
:default-param-item="defaultRequestParamsItem"
@change="handleParamTableChange"
/>