fix(接口定义): 参数自动新增行
--bug=1047153 --user=白奇 【接口测试】编辑场景-复制case,修改参数,没有自动增加一行 https://www.tapd.cn/55049933/s/1585856
This commit is contained in:
parent
9386c45d33
commit
c20886624f
|
@ -930,11 +930,8 @@
|
|||
});
|
||||
const { lastDataIsDefault } = filterKeyValParams(arr, defaultLineData.value, false);
|
||||
if (
|
||||
hasNoIdItem &&
|
||||
!props.disabledExceptParam &&
|
||||
!props.disabledParamValue &&
|
||||
!lastDataIsDefault &&
|
||||
!props.isTreeTable
|
||||
(hasNoIdItem && !lastDataIsDefault) ||
|
||||
(!props.disabledExceptParam && !props.disabledParamValue && !lastDataIsDefault && !props.isTreeTable)
|
||||
) {
|
||||
addTableLine(arr.length - 1, false, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue