修正相对路径

This commit is contained in:
syruan 2025-12-17 12:07:10 +08:00
parent 0854f6b21f
commit f5e05ff0f8
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ export default {
console.log('🚀 ~ mounted:', window.location)
this.iframeSrc =
process.env.NODE_ENV === 'production'
? 'http://36.33.26.201:21999/iws/mall-view/home?redirect=rent-manage'
? '/iws/mall-view/home?redirect=rent-manage'
: 'http://localhost:8102/iws/mall-view/home?redirect=rent-manage'
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)

View File

@ -16,7 +16,7 @@ export default {
console.log('🚀 ~ mounted:', window.location)
this.iframeSrc =
process.env.NODE_ENV === 'production'
? 'http://36.33.26.201:21999/iws/mall-view/home?redirect=parity'
? '/iws/mall-view/home?redirect=parity'
: 'http://localhost:8102/iws/mall-view/home?redirect=parity'
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)

View File

@ -16,7 +16,7 @@ export default {
console.log('🚀 ~ mounted:', window.location)
this.iframeSrc =
process.env.NODE_ENV === 'production'
? 'http://36.33.26.201:21999/iws/mall-view/home?redirect=sourcingNeed'
? '/iws/mall-view/home?redirect=sourcingNeed'
: 'http://localhost:8102/iws/mall-view/home?redirect=sourcingNeed'
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)