dingyong0214/ThorUI-uniapp

裁剪组件 tui-picture-cropper 设置宽高裁剪框不改变

ztj1993 opened this issue · 0 comments

在 H5 中,我使用了如下代码:

    <tui-picture-cropper
        :width="300"
        :heigth="100"
        :lockRatio="true"
        :lockWidth="true"
        :lockHeight="true"
        :imageUrl="imageUrl"
        @ready="ready"
        @cropper="cropper"/>

裁剪框仍然为正方形。