feat(接口测试): 接口测试忽略标签展示修改

This commit is contained in:
xinxin.wu 2024-08-08 18:35:00 +08:00 committed by 刘瑞斌
parent 39eee30510
commit 158409ac5a
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template>
<MsTag
v-if="props.inconsistentWithApi"
v-if="props.inconsistentWithApi || props.ignoreApiChange || props.ignoreApiDiff"
class="cursor-pointer font-normal"
:type="props.ignoreApiDiff ? 'default' : 'warning'"
theme="light"

View File

@ -112,7 +112,6 @@
import MsDrawer from '@/components/pure/ms-drawer/index.vue';
import { TabItem } from '@/components/pure/ms-editable-tab/types';
import DiffItem from './diffItem.vue';
import DiffRequestBody from './diffRequestBody.vue';
import {
clearThisChange,
@ -134,6 +133,8 @@
const { t } = useI18n();
const DiffRequestBody = defineAsyncComponent(() => import('./diffRequestBody.vue'));
const props = defineProps<{
activeApiCaseId: string;
activeDefinedId: string;