Skip to content

Commit

Permalink
Image
Browse files Browse the repository at this point in the history
  • Loading branch information
szuprefix committed Oct 22, 2020
1 parent 7e151cd commit 80bb252
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/media/ImageInput.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<image-upload v-bind="[$attrs, $pros, field]" :context="context" :bucket="bucket"
<image-upload v-bind="[$attrs, $props, field]" :context="context" :bucket="bucket"
:urls="imageUrls" @success="onSuccess" @remove="onRemove">
</image-upload>
</template>
Expand All @@ -18,7 +18,7 @@
}
},
created () {
console.log(this.bucket)
// console.log(this.bucket)
},
components: {ImageUpload},
methods: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/media/qcloud/ImageUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ref="upload"
action="noaction"
accept=".jpg,.png,.jpeg,.gif"
list-type="picture-card"
:list-type="$attrs.listType || 'picture-card'"
:file-list="fileList"
v-bind="[$attrs, $props]"
:on-preview="onPreview"
Expand Down

0 comments on commit 80bb252

Please sign in to comment.