Merge pull request #315 from dataease/pr@v1.1@fix_panel_edit-drag-image

同一张图片无法连续两次被导入到仪表盘
This commit is contained in:
王嘉豪 2021-07-23 15:36:43 +08:00 committed by GitHub
commit 3ee950ea91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@
<fullscreen style="height: 100%;background: #f7f8fa;overflow-y: auto" :fullscreen.sync="previewVisible">
<Preview v-if="previewVisible" :in-screen="!previewVisible" :show-type="canvasStyleData.selfAdaption?'full':'width'" />
</fullscreen>
<input id="input" ref="files" type="file" accept="image/*" hidden @change="handleFileChange">
<input id="input" ref="files" type="file" accept="image/*" hidden @click="e => {e.target.value = '';} " @change="handleFileChange">
<!--矩形样式组件-->
<RectangleAttr v-if="curComponent&&curComponent.type==='rect-shape'" :scroll-left="scrollLeft" :scroll-top="scrollTop" />