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 }
|
{ deep: true }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
function renameCopyBug() {
|
||||||
|
if (isCopy.value) {
|
||||||
|
form.value.title = `copy_${form.value.title}`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async function handleUploadImage(file: File) {
|
async function handleUploadImage(file: File) {
|
||||||
const { data } = await editorUploadFile({
|
const { data } = await editorUploadFile({
|
||||||
fileList: [file],
|
fileList: [file],
|
||||||
|
@ -636,6 +642,7 @@
|
||||||
if (isEditOrCopy.value) {
|
if (isEditOrCopy.value) {
|
||||||
// 详情
|
// 详情
|
||||||
await getDetailInfo();
|
await getDetailInfo();
|
||||||
|
renameCopyBug();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue