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> <template>
<MsTag <MsTag
v-if="props.inconsistentWithApi" v-if="props.inconsistentWithApi || props.ignoreApiChange || props.ignoreApiDiff"
class="cursor-pointer font-normal" class="cursor-pointer font-normal"
:type="props.ignoreApiDiff ? 'default' : 'warning'" :type="props.ignoreApiDiff ? 'default' : 'warning'"
theme="light" theme="light"

View File

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