Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resizing事件返回的参数width为负数 #382

Open
Reborn115 opened this issue Aug 15, 2023 · 0 comments
Open

resizing事件返回的参数width为负数 #382

Reborn115 opened this issue Aug 15, 2023 · 0 comments

Comments

@Reborn115
Copy link

当我这样使用时:
<vue-draggable-resizable
:x="posterEditForm.posterCode.left"
:y="posterEditForm.posterCode.top"
:w="posterEditForm.posterCode.width"
:h="posterEditForm.posterCode.height"
:parent="true"
:lock-aspect-ratio="true"
:min-width="30"
:min-height="30"
class-name-active="draggingActive"
class="draggingDeactive"
@resizing="qrcodeResize"
@dragging="qrcodeDrag"
>


并且进行刷新页面的操作,此时再调整大小,resizing事件返回的参数width为负数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant