feat(接口测试): 接口用例同步更新后更新详情
This commit is contained in:
parent
b6b46b3825
commit
c1e7391a41
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue