mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 22:24:20 +00:00
param告警修复
Signed-off-by: sunlong <sunlong26@huawei.com>
This commit is contained in:
parent
4afe7f247a
commit
479979ee8c
@ -127,11 +127,11 @@ function checkParamValue(tag, node, fileName, tagIndex) {
|
||||
}
|
||||
errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_VALUE_PARAM, [tagIndex + 1, tagIndex + 1]);
|
||||
}
|
||||
paramResult.checkResult = false;
|
||||
errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_TYPE_PARAM, [tagIndex + 1, tagIndex + 1]);
|
||||
if (!paramResult.checkResult) {
|
||||
paramResult.errorInfo = errorInfo;
|
||||
}
|
||||
paramResult.checkResult = false;
|
||||
errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_TYPE_PARAM, [tagIndex + 1, tagIndex + 1]);
|
||||
return paramResult;
|
||||
}
|
||||
exports.checkParamValue = checkParamValue;
|
||||
|
Loading…
Reference in New Issue
Block a user