<template>
    <div>
        <!--<upHead></upHead>-->
        <cropper
                :width="300"
                :height="300"
                :fixed-number="[1,1]"
                @subUploadSucceed="getShopImages"
        ></cropper>
        {{url}}
    </div>
</template>

<script>
    import upHead from '@/components/upHead.vue'
    import cropper from '@/components/cropper.vue'
    export default {
        data() {
            return {
                editableTabsValue: '1',
                url: ''
            }
        },
        methods: {
            // 海报上传成功
            getShopImages(url) {
                this.url = url
            }
        },
        components: {
            upHead,cropper
        }
    }
</script>

<style scoped>

</style>
