From 390c3e2b07c973f0aa153b739160ccef9cb001ce Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Fri, 8 Mar 2024 18:36:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=BA=E9=99=B7=E5=A4=8D=E5=88=B6=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1036066 --user=宋天阳 【缺陷管理】缺陷列表-复制缺陷-复制的缺陷名称没显示copy https://www.tapd.cn/55049933/s/1472105 --- frontend/src/views/bug-management/edit.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/views/bug-management/edit.vue b/frontend/src/views/bug-management/edit.vue index b955870da7..1ebac0b109 100644 --- a/frontend/src/views/bug-management/edit.vue +++ b/frontend/src/views/bug-management/edit.vue @@ -624,6 +624,12 @@ { deep: true } ); + function renameCopyBug() { + if (isCopy.value) { + form.value.title = `copy_${form.value.title}`; + } + } + async function handleUploadImage(file: File) { const { data } = await editorUploadFile({ fileList: [file], @@ -636,6 +642,7 @@ if (isEditOrCopy.value) { // 详情 await getDetailInfo(); + renameCopyBug(); } });