refactor(测试用例): 用例详情-基本信息-标签支持编辑

--story=1015975 --user=吕梦园
https://www.tapd.cn/55049933/prong/stories/view/1155049933001015975
This commit is contained in:
teukkk 2024-12-02 10:53:29 +08:00 committed by Craftsman
parent 143b4ba455
commit 179eadd19c
1 changed files with 3 additions and 3 deletions

View File

@ -54,8 +54,8 @@
</div> </div>
<div class="baseItem"> <div class="baseItem">
<span class="label"> {{ t('caseManagement.featureCase.tableColumnTag') }}</span> <span class="label"> {{ t('caseManagement.featureCase.tableColumnTag') }}</span>
<span class="value"> <span class="value w-full">
<MsTag v-for="item of detailInfo.tags" :key="item"> {{ item }} </MsTag> <MsTagsInput v-model:model-value="detailInfo.tags" class="w-full" @change="changeHandler" />
</span> </span>
</div> </div>
</div> </div>
@ -71,7 +71,7 @@
import MsFormCreate from '@/components/pure/ms-form-create/ms-form-create.vue'; import MsFormCreate from '@/components/pure/ms-form-create/ms-form-create.vue';
import type { FormItem, FormRuleItem } from '@/components/pure/ms-form-create/types'; import type { FormItem, FormRuleItem } from '@/components/pure/ms-form-create/types';
import MsTag from '@/components/pure/ms-tag/ms-tag.vue'; import MsTagsInput from '@/components/pure/ms-tags-input/index.vue';
import { getCaseModuleTree, updateCaseRequest } from '@/api/modules/case-management/featureCase'; import { getCaseModuleTree, updateCaseRequest } from '@/api/modules/case-management/featureCase';
import { defaultCaseDetail } from '@/config/caseManagement'; import { defaultCaseDetail } from '@/config/caseManagement';