This commit is contained in:
bb_pan 2026-01-04 20:30:58 +08:00
parent b679498542
commit ce5731c095
4 changed files with 8 additions and 4 deletions

View File

@ -14,9 +14,10 @@ export default {
},
mounted() {
// iframe 使Cookie
const hash = process.env.VUE_APP_BASE_API == '/iws/jiju-api' ? '#/' : ''
this.iframeSrc =
process.env.NODE_ENV === 'production'
? '/iws/mall-view/#/home?redirect=equipList'
? `/iws/mall-view/${hash}home?redirect=equipList`
: 'http://localhost:8102/iws/mall-view/home?redirect=equipList'
// iframe token

View File

@ -14,9 +14,10 @@ export default {
},
mounted() {
console.log('🚀 ~ mounted:', window.location)
const hash = process.env.VUE_APP_BASE_API == '/iws/jiju-api' ? '#/' : ''
this.iframeSrc =
process.env.NODE_ENV === 'production'
? '/iws/mall-view/#/home?redirect=rent-manage'
? `/iws/mall-view/${hash}home?redirect=rent-manage`
: 'http://localhost:8102/iws/mall-view/home?redirect=rent-manage'
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)

View File

@ -14,9 +14,10 @@ export default {
},
mounted() {
console.log('🚀 ~ mounted:', window.location)
const hash = process.env.VUE_APP_BASE_API == '/iws/jiju-api' ? '#/' : ''
this.iframeSrc =
process.env.NODE_ENV === 'production'
? '/iws/mall-view/#/home?redirect=parity'
? `/iws/mall-view/${hash}home?redirect=parity`
: 'http://localhost:8102/iws/mall-view/home?redirect=parity'
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)

View File

@ -14,9 +14,10 @@ export default {
},
mounted() {
console.log('🚀 ~ mounted:', window.location)
const hash = process.env.VUE_APP_BASE_API == '/iws/jiju-api' ? '#/' : ''
this.iframeSrc =
process.env.NODE_ENV === 'production'
? '/iws/mall-view/#/home?redirect=sourcingNeed'
? `/iws/mall-view/${hash}home?redirect=sourcingNeed`
: 'http://localhost:8102/iws/mall-view/home?redirect=sourcingNeed'
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)