mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-12 22:29:59 +08:00
fix image (#557)
This commit is contained in:
parent
6338ac2a01
commit
9c6b7dd307
@ -7,7 +7,7 @@
|
|||||||
<el-container style="height: 100% !important;">
|
<el-container style="height: 100% !important;">
|
||||||
<img
|
<img
|
||||||
fit="contain"
|
fit="contain"
|
||||||
:src="defaultImage"
|
:src="backgroundForm"
|
||||||
class="background-price-checking"
|
class="background-price-checking"
|
||||||
style="z-index: 2;"
|
style="z-index: 2;"
|
||||||
>
|
>
|
||||||
|
@ -60,7 +60,7 @@ export function getImagePath({
|
|||||||
operation = 'fit'
|
operation = 'fit'
|
||||||
}) {
|
}) {
|
||||||
const url = config.adempiere.images.fullPath
|
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}`
|
const uri = `${url}${urn}`
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user