mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 00:17:37 +08:00
fix: format
This commit is contained in:
@@ -1 +1 @@
|
|||||||
v5.0.0+2503041726
|
v5.0.0+2503041818
|
||||||
|
|||||||
@@ -7,12 +7,11 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/httprunner/httprunner/v5/pkg/uixt/types"
|
|
||||||
|
|
||||||
"github.com/httprunner/httprunner/v5/code"
|
"github.com/httprunner/httprunner/v5/code"
|
||||||
"github.com/httprunner/httprunner/v5/internal/builtin"
|
"github.com/httprunner/httprunner/v5/internal/builtin"
|
||||||
"github.com/httprunner/httprunner/v5/pkg/uixt"
|
"github.com/httprunner/httprunner/v5/pkg/uixt"
|
||||||
"github.com/httprunner/httprunner/v5/pkg/uixt/option"
|
"github.com/httprunner/httprunner/v5/pkg/uixt/option"
|
||||||
|
"github.com/httprunner/httprunner/v5/pkg/uixt/types"
|
||||||
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
|||||||
+1
-1
@@ -129,7 +129,7 @@ func (r *Router) doubleTapHandler(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if tapReq.X < 1 && tapReq.Y < 1 {
|
if tapReq.X < 1 && tapReq.Y < 1 {
|
||||||
err = driver.DoubleTap(tapReq.X, tapReq.Y)
|
err = driver.DoubleTap(tapReq.X, tapReq.Y, option.WithRelative(true))
|
||||||
} else {
|
} else {
|
||||||
err = driver.DoubleTap(tapReq.X, tapReq.Y)
|
err = driver.DoubleTap(tapReq.X, tapReq.Y)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user