vue-imgcut
v1.0.8
Published
vue mobile image clippings
Downloads
15
Readme
vue-imgcut
vue mobile image clipping
Install
npm install vue-imgcut --save
vue-imgcut Instructions for use
<imgCut ref="Uppicinput" @callback="callback" :width="200" :height="200">
<div>上传按钮</div>
</imgCut>
<img :src="imgsrc">
import {imgCut} from 'vue-imgcut'
export default {
data(){
return{
imgsrc:'',
}
},
components:{
imgCut
},
methods:{
callback(img){
thie.imgsrc=img
//console.log(imgss)
}
}
}