fix(接口测试): 参数表格禁用输入和只能修改值时不触发新增行

This commit is contained in:
baiqi 2024-08-13 16:33:55 +08:00
parent ebb94ab945
commit caec8ad108
1 changed files with 4 additions and 0 deletions

View File

@ -861,6 +861,10 @@
* @param isForce 是否强制添加
*/
function addTableLine(rowIndex: number, addLineDisabled?: boolean, isInit?: boolean) {
if (props.disabledExceptParam || props.disabledParamValue) {
//
return;
}
if (addLineDisabled) {
emitChange('addTableLine addLineDisabled', isInit);
return;