fix(测试计划): 去掉多余的

This commit is contained in:
xinxin.wu 2024-07-12 18:38:53 +08:00 committed by Craftsman
parent 1f5aca029f
commit 80f9c598e3
1 changed files with 2 additions and 2 deletions

View File

@ -278,8 +278,8 @@
watch( watch(
[() => configList.value, () => cardItemList.value], [() => configList.value, () => cardItemList.value],
() => { () => {
const configValue = resetConfigEditList(cloneDeep(configList.value)); const configValue = resetConfigEditList(configList.value);
const cardItemValue = resetConfigEditList(cloneDeep(cardItemList.value)); const cardItemValue = resetConfigEditList(cardItemList.value);
const isisEqualList = props.isGroup ? cloneDeep(defaultGroupConfig) : cloneDeep(defaultSingleConfig); const isisEqualList = props.isGroup ? cloneDeep(defaultGroupConfig) : cloneDeep(defaultSingleConfig);
if (!isEqual(configValue, isisEqualList) || (!isEqual(cardItemValue, isisEqualList) && !isInit.value)) { if (!isEqual(configValue, isisEqualList) || (!isEqual(cardItemValue, isisEqualList) && !isInit.value)) {