|
@@ -139,10 +139,10 @@ export default {
|
|
|
this.previewVisible = false
|
|
|
},
|
|
|
handlePreview (file) {
|
|
|
- if (this.listType == 'text') {
|
|
|
- return
|
|
|
- }
|
|
|
- console.log(file)
|
|
|
+ // if (this.listType == 'text') {
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // console.log(file)
|
|
|
if (file.response.status == 200) {
|
|
|
this.previewImage = file.response.data
|
|
|
} else {
|
|
@@ -252,7 +252,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-<style lang="less">
|
|
|
+<style lang="less" scoped>
|
|
|
.upload-file{
|
|
|
float: left;
|
|
|
overflow: hidden;
|
|
@@ -292,5 +292,11 @@ export default {
|
|
|
white-space: normal;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+/deep/.ant-modal-body{
|
|
|
+ max-height:860px;
|
|
|
+ text-align:center;
|
|
|
+ }
|
|
|
+ /deep/.ant-modal-body video{
|
|
|
+ width: 90% !important;
|
|
|
+ }
|
|
|
</style>
|