fix(缺陷管理): 修复缺陷复制的问题
--bug=1036066 --user=宋天阳 【缺陷管理】缺陷列表-复制缺陷-复制的缺陷名称没显示copy https://www.tapd.cn/55049933/s/1472105
This commit is contained in:
parent
5b049652f1
commit
390c3e2b07
|
@ -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();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue