feat(接口测试): 接口用例同步更新后更新详情

This commit is contained in:
xinxin.wu 2024-08-08 17:43:51 +08:00 committed by 刘瑞斌
parent b6b46b3825
commit c1e7391a41
1 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@
:active-api-case-id="activeApiCaseId" :active-api-case-id="activeApiCaseId"
:active-defined-id="activeDefinedId" :active-defined-id="activeDefinedId"
@close="closeDifferent" @close="closeDifferent"
@clear-this-change="clearThisChangeHandler" @clear-this-change="brashChangeHandler"
@sync="syncParamsHandler" @sync="syncParamsHandler"
/> />
</a-tab-pane> </a-tab-pane>
@ -95,7 +95,7 @@
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
</div> </div>
<createAndEditCaseDrawer ref="createAndEditCaseDrawerRef" v-bind="$attrs" /> <createAndEditCaseDrawer ref="createAndEditCaseDrawerRef" v-bind="$attrs" @load-case="brashChangeHandler" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -347,7 +347,7 @@
} }
// //
async function clearThisChangeHandler() { async function brashChangeHandler() {
emit('loadCase', props.detail.id as string); emit('loadCase', props.detail.id as string);
} }