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

vue整合vue-image-crop-upload,x和取消无法关掉 #234

Open
youyasuxiami opened this issue Apr 5, 2021 · 4 comments
Open

vue整合vue-image-crop-upload,x和取消无法关掉 #234

youyasuxiami opened this issue Apr 5, 2021 · 4 comments

Comments

@youyasuxiami
Copy link

<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"
/>

@ZHAOzn
Copy link

ZHAOzn commented Apr 9, 2021

你是vue2还是3,2的话你import的时候路径加个/upload-2.vue

@BrentBWu
Copy link

应该是vue版本问题,2.0的话import的话应该是
import myUpload from "vue-image-crop-upload/upload-2.vue";

@AnyuZhao
Copy link

原来是这样。。。

@Dawn-ferry
Copy link

坑的很

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

5 participants