mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
fix(接口测试): 修复多调api/case表格接口的缺陷
This commit is contained in:
parent
283086b461
commit
1a63411395
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="flex flex-1 flex-col overflow-hidden">
|
||||
<div v-if="activeApiTab.id === 'all'" class="flex-1 pt-[8px]">
|
||||
<div v-if="activeApiTab.id === 'all' && currentTab === 'api'" class="flex-1 pt-[8px]">
|
||||
<apiTable
|
||||
:active-module="props.activeModule"
|
||||
:offspring-ids="props.offspringIds"
|
||||
@ -175,6 +175,7 @@
|
||||
offspringIds: string[];
|
||||
moduleTree: ModuleTreeNode[]; // 模块树
|
||||
protocol: string;
|
||||
currentTab: string;
|
||||
memberOptions: { label: string; value: string }[];
|
||||
}>();
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="flex flex-1 flex-col overflow-hidden">
|
||||
<div v-if="activeApiTab.id === 'all'" class="flex-1 overflow-hidden">
|
||||
<div v-if="activeApiTab.id === 'all' && currentTab === 'case'" class="flex-1 overflow-hidden">
|
||||
<caseTable
|
||||
ref="caseTableRef"
|
||||
:offspring-ids="props.offspringIds"
|
||||
@ -48,6 +48,7 @@
|
||||
offspringIds: string[];
|
||||
moduleTree: ModuleTreeNode[]; // 模块树
|
||||
memberOptions: { label: string; value: string }[];
|
||||
currentTab: string;
|
||||
}>();
|
||||
const emit = defineEmits<{
|
||||
(e: 'deleteCase', id: string): void;
|
||||
|
@ -43,6 +43,7 @@
|
||||
:offspring-ids="props.offspringIds"
|
||||
:protocol="props.protocol"
|
||||
:module-tree="props.moduleTree"
|
||||
:current-tab="currentTab"
|
||||
:member-options="memberOptions"
|
||||
@import="emit('import')"
|
||||
@delete-api="(id) => handleDeleteApiFromModuleTree(id)"
|
||||
@ -55,6 +56,7 @@
|
||||
:active-module="props.activeModule"
|
||||
:protocol="props.protocol"
|
||||
:module-tree="props.moduleTree"
|
||||
:current-tab="currentTab"
|
||||
:offspring-ids="props.offspringIds"
|
||||
:member-options="memberOptions"
|
||||
@delete-case="(id) => handleDeleteApiFromModuleTree(id)"
|
||||
|
Loading…
Reference in New Issue
Block a user