fix(接口测试): 修复接口调试请求头和query排序不生效的问题
--bug=1037113 --user=宋天阳 https://www.tapd.cn/55049933/s/1480520
This commit is contained in:
parent
1fa7e1c833
commit
6300cdebfd
|
@ -6,6 +6,7 @@
|
||||||
:span-method="props.spanMethod"
|
:span-method="props.spanMethod"
|
||||||
:class="!props.selectable && !props.draggable ? 'ms-form-table-no-left-action' : ''"
|
:class="!props.selectable && !props.draggable ? 'ms-form-table-no-left-action' : ''"
|
||||||
v-on="propsEvent"
|
v-on="propsEvent"
|
||||||
|
@drag-change="tableChange"
|
||||||
>
|
>
|
||||||
<!-- 展开行-->
|
<!-- 展开行-->
|
||||||
<template #expand-icon="{ expanded, record }">
|
<template #expand-icon="{ expanded, record }">
|
||||||
|
@ -286,6 +287,10 @@
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
function tableChange() {
|
||||||
|
emit('change', propsRes.value.data);
|
||||||
|
}
|
||||||
|
|
||||||
function emitChange(from: string, isInit?: boolean) {
|
function emitChange(from: string, isInit?: boolean) {
|
||||||
if (!isInit) {
|
if (!isInit) {
|
||||||
emit('change', propsRes.value.data);
|
emit('change', propsRes.value.data);
|
||||||
|
|
|
@ -1007,6 +1007,7 @@
|
||||||
function handleFormTableChange(data: any[]) {
|
function handleFormTableChange(data: any[]) {
|
||||||
paramsData.value = [...data];
|
paramsData.value = [...data];
|
||||||
emitChange('handleFormTableChange');
|
emitChange('handleFormTableChange');
|
||||||
|
addTableLine(data.length - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:height-used="heightUsed"
|
:height-used="heightUsed"
|
||||||
:scroll="{ minWidth: 1160 }"
|
:scroll="{ minWidth: 1160 }"
|
||||||
|
draggable
|
||||||
:default-param-item="defaultRequestParamsItem"
|
:default-param-item="defaultRequestParamsItem"
|
||||||
@change="handleParamTableChange"
|
@change="handleParamTableChange"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue