mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2025-01-09 18:31:57 +00:00
Fix:安全告警修改回退_js_drag_controller.cpp
Signed-off-by: yangziyong <nsyangziyong@huawei.com> Change-Id: Iacf5a199d63719fcfa8fae85ce80691b741bbdc4
This commit is contained in:
parent
4ec857b0aa
commit
a74f750202
@ -1378,9 +1378,6 @@ bool CheckAndParseParams(DragControllerAsyncCtx* asyncCtx, std::string& errMsg)
|
||||
{
|
||||
// Check the number of the argument
|
||||
CHECK_NULL_RETURN(asyncCtx, false);
|
||||
if (errMsg.empty()) {
|
||||
return false;
|
||||
}
|
||||
if ((asyncCtx->argc != 2) && (asyncCtx->argc != argCount3)) {
|
||||
errMsg = "The number of parameters must be 2 or 3.";
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user