fix(接口测试): 参数表格禁用输入和只能修改值时不触发新增行
This commit is contained in:
parent
0936767f66
commit
b329d19e36
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue