We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<image-cropper v-model="show" field="img" :size="50" :width="300" :height="300" ki="0" :allowImgFormat="allowImgFormat" :url="url" :headers="headers" img-format="png" @crop-success="cropSuccess" @crop-upload-success="cropUploadSuccess" @crop-upload-fail="cropUploadFail" />
The text was updated successfully, but these errors were encountered:
你是vue2还是3,2的话你import的时候路径加个/upload-2.vue
Sorry, something went wrong.
应该是vue版本问题,2.0的话import的话应该是 import myUpload from "vue-image-crop-upload/upload-2.vue";
import myUpload from "vue-image-crop-upload/upload-2.vue";
原来是这样。。。
坑的很
No branches or pull requests
<image-cropper
v-model="show"
field="img"
:size="50"
:width="300"
:height="300"
ki="0"
:allowImgFormat="allowImgFormat"
:url="url"
:headers="headers"
img-format="png"
@crop-success="cropSuccess"
@crop-upload-success="cropUploadSuccess"
@crop-upload-fail="cropUploadFail"
/>
The text was updated successfully, but these errors were encountered: