fix(功能用例): 修复评审关联用例不立即刷新列表以及接口场景回收站按钮文字显示问题
--bug=1038414 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038414
This commit is contained in:
parent
d6cc864783
commit
06fe3f5204
|
@ -155,7 +155,7 @@
|
|||
class="!mr-0"
|
||||
@click="deleteOperation(record)"
|
||||
>
|
||||
{{ t('common.delete') }}
|
||||
{{ t('api_scenario.recycle.batchCleanOut') }}
|
||||
</MsButton>
|
||||
</template>
|
||||
</ms-base-table>
|
||||
|
|
|
@ -648,7 +648,6 @@
|
|||
async function getCaseLevelFields() {
|
||||
const result = await getCaseDefaultFields(appStore.currentProjectId);
|
||||
caseLevelFields.value = result.customFields.find((item: any) => item.internal && item.fieldName === '用例等级');
|
||||
caseFilters.value = caseLevelFields.value?.options.map((item: any) => item.text);
|
||||
}
|
||||
|
||||
// 批量重新评审
|
||||
|
|
|
@ -191,8 +191,7 @@
|
|||
async function initDetail() {
|
||||
try {
|
||||
loading.value = true;
|
||||
const res = await getReviewDetail(reviewId.value);
|
||||
reviewDetail.value = res;
|
||||
reviewDetail.value = await getReviewDetail(reviewId.value);
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(error);
|
||||
|
@ -259,7 +258,7 @@
|
|||
baseAssociateCaseRequest: params,
|
||||
});
|
||||
Message.success(t('caseManagement.caseReview.associateSuccess'));
|
||||
initDetail();
|
||||
await initDetail();
|
||||
folderTreeRef.value?.initModules();
|
||||
caseTableRef.value?.searchCase();
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in New Issue