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:
parent
6338ac2a01
commit
9c6b7dd307
@ -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;"
|
||||
>
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user