1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 12:01:57 +08:00

fix image (#557)

This commit is contained in:
Elsio Sanchez 2020-12-03 11:44:07 -04:00 committed by GitHub
parent 6338ac2a01
commit 9c6b7dd307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<el-container style="height: 100% !important;">
<img
fit="contain"
:src="defaultImage"
:src="backgroundForm"
class="background-price-checking"
style="z-index: 2;"
>

View File

@ -60,7 +60,7 @@ export function getImagePath({
operation = 'fit'
}) {
const url = config.adempiere.images.fullPath
const urn = `/?action=${operation}&width=${width}&height=${height}&url=${file}`
const urn = `/img?action=${operation}&width=${width}&height=${height}&url=${file}`
const uri = `${url}${urn}`
return {