fix(接口测试): 修复接口测试提取参数复制数据后修改会影响原数据的缺陷
--bug=1037352 --user=宋天阳 https://www.tapd.cn/55049933/s/1480094
This commit is contained in:
parent
45da420360
commit
44ab9a2cd8
|
@ -46,6 +46,8 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { cloneDeep } from 'lodash-es';
|
||||
|
||||
import { LanguageEnum } from '@/components/pure/ms-code-editor/types';
|
||||
import conditionContent from './content.vue';
|
||||
import conditionList from './list.vue';
|
||||
|
@ -93,7 +95,7 @@
|
|||
*/
|
||||
function copyListItem() {
|
||||
const copyItem = {
|
||||
...activeItem.value,
|
||||
...cloneDeep(activeItem.value),
|
||||
id: new Date().getTime(),
|
||||
};
|
||||
data.value.push(copyItem as ExecuteConditionProcessor);
|
||||
|
|
Loading…
Reference in New Issue