fix(功能用例): 修改详情打开后循环调用接口bug
This commit is contained in:
parent
36c5f06f54
commit
323fa6b5c0
|
@ -537,7 +537,6 @@
|
|||
(val) => {
|
||||
if (val) {
|
||||
showDrawerVisible.value = val;
|
||||
activeTab.value = 'detail';
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
|
||||
const props = defineProps<{
|
||||
visible: boolean;
|
||||
caseId: string;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
|
@ -93,7 +94,7 @@
|
|||
drawerLoading.value = true;
|
||||
try {
|
||||
await createOrUpdateBug({
|
||||
request: { ...form.value, customFields: templateCustomFields.value },
|
||||
request: { ...form.value, customFields: templateCustomFields.value, caseId: props.caseId },
|
||||
fileList: [],
|
||||
});
|
||||
emit('success');
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
</div>
|
||||
</template>
|
||||
</ms-base-table>
|
||||
<AddDefectDrawer v-model:visible="showDrawer" @success="getFetch()" />
|
||||
<AddDefectDrawer v-model:visible="showDrawer" :case-id="props.caseId" @success="getFetch()" />
|
||||
<LinkDefectDrawer
|
||||
v-model:visible="showLinkDrawer"
|
||||
:case-id="props.caseId"
|
||||
|
|
Loading…
Reference in New Issue