You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
922 B

5 months ago
<template>
<div>
<el-dialog
title="上传图片"
:visible.sync="visible"
width="950px"
:modal="booleanVal"
append-to-body
:before-close="handleClose"
>
<upload-index v-if="visible" :isMore="isMore" :modelName="modelName" @getImage="getImage" />
</el-dialog>
</div>
</template>
<script>
// import UploadIndex from '@/components/uploadPicture/indexvo.vue'
5 months ago
export default {
name: 'UploadFroms',
// components: { UploadIndex },
data() {
return {
visible: false,
callback: function() {},
isMore: '',
modelName: '',
ISmodal: false,
booleanVal: false
}
},
watch: {
// show() {
// this.visible = this.show
// }
},
methods: {
handleClose() {
this.visible = false
},
getImage(img) {
this.callback(img)
this.visible = false
}
}
}
</script>
<style scoped>
</style>