ziruiwang1314
Results
1
issues of
ziruiwang1314
:parent="true" :lock-aspect-ratio="lockAspectRatio" 上述是写在结构中的代码,期望resize四个角的时候等比缩放,拖拽剩余的位置按期望拉伸(如拖拽右侧,向右侧拉伸) methods中: handleResizeStart (handle) { this.lockAspectRatio = ['tl', 'tr', 'bl', 'br'].includes(handle) }, Bug来了,此时我的图片可以拉伸到父元素外面去,再次拉伸就正常了。(拉伸右侧,再拉伸右下角,Bug复现)