fix(接口用例): 复制插件用例时插件数据丢失修复
This commit is contained in:
parent
71c7493e88
commit
6567dcf280
|
@ -225,6 +225,7 @@
|
||||||
if (isCopy) {
|
if (isCopy) {
|
||||||
detailForm.value = cloneDeep(record as RequestParam);
|
detailForm.value = cloneDeep(record as RequestParam);
|
||||||
detailForm.value.name = `copy_${record?.name}`;
|
detailForm.value.name = `copy_${record?.name}`;
|
||||||
|
detailForm.value.isCopy = true;
|
||||||
environmentId.value = record?.environmentId;
|
environmentId.value = record?.environmentId;
|
||||||
if (detailForm.value.name.length > 255) {
|
if (detailForm.value.name.length > 255) {
|
||||||
detailForm.value.name = detailForm.value.name.slice(0, 255);
|
detailForm.value.name = detailForm.value.name.slice(0, 255);
|
||||||
|
|
Loading…
Reference in New Issue