update code

prv
haha 2024-04-17 22:44:54 +08:00
parent e52fafbc49
commit b0e16ac471
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<el-image v-if="info.imageUrl" class="info-image" :src="'/jhapi' + info.imageUrl + '.min.jpg'" <el-image v-if="info.imageUrl" class="info-image" :src="'/jhapi' + info.imageUrl + '.min.jpg'"
:preview-src-list="['/jhapi' + info.imageUrl]"></el-image> :preview-src-list="['/jhapi' + info.imageUrl]"></el-image>
</div> </div>
<pre v-html="info.content"></pre> <pre v-html="info.content" style="white-space: break-spaces;"></pre>
</div> </div>
</MyDialog> </MyDialog>
</template> </template>

View File

@ -141,6 +141,10 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding:6px; padding:6px;
.el-image__inner{
height: 100%;
width:unset !important;
}
} }
} }
</style> </style>