caiyiling 2024-07-18 11:15:39 +08:00
parent 5e14615176
commit ced87c29c9
2 changed files with 5 additions and 5 deletions

View File

@ -203,7 +203,7 @@
>
<i slot="default" class="el-icon-plus" />
<div slot="file" slot-scope="{file}">
<viewer :images="images" :ref="file.url">
<viewer :ref="file.url" :images="images">
<img
class="el-upload-list__item-thumbnail"
:src="OSSclientConfig.basePath + file.url"
@ -229,7 +229,7 @@
</viewer>
</div>
</el-upload>
</el-form-item>
<el-form-item v-if="adInfo.ReadingTaskState < 2">
<div style="text-align:center;">

View File

@ -92,7 +92,7 @@
>
<i slot="default" class="el-icon-plus" />
<div slot="file" slot-scope="{file}">
<viewer :images="images" :ref="file.url">
<viewer :ref="file.url" :images="images">
<img
class="el-upload-list__item-thumbnail"
:src="OSSclientConfig.basePath + file.url"
@ -225,7 +225,7 @@ export default {
isClosedDialog: false,
isSendMessage: false,
closeQuestionVisible: false,
images:[]
images: []
}
},
mounted() {
@ -397,7 +397,7 @@ export default {
},
initializeViewer() {
Viewer.setDefaults({
toolbar: { zoomIn: true, zoomOut: true, rotateLeft: true, rotateRight: true, flipHorizontal: true, flipVertical: true}
toolbar: { zoomIn: true, zoomOut: true, rotateLeft: true, rotateRight: true, flipHorizontal: true, flipVertical: true }
})
}
}