replace
This commit is contained in:
parent
f7aafd3f7f
commit
54baf57e87
|
@ -24,7 +24,7 @@ export default defineManifestConfig({
|
||||||
locale: VITE_FALLBACK_LOCALE, // 'zh-Hans'
|
locale: VITE_FALLBACK_LOCALE, // 'zh-Hans'
|
||||||
h5: {
|
h5: {
|
||||||
router: {
|
router: {
|
||||||
// mode: 'history',
|
mode: 'history',
|
||||||
base: VITE_APP_PUBLIC_BASE,
|
base: VITE_APP_PUBLIC_BASE,
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
|
|
|
@ -100,7 +100,8 @@ window.parent.addEventListener('message', function (event) {
|
||||||
srcList.title = contentData.user_content_templates.moduledesc
|
srcList.title = contentData.user_content_templates.moduledesc
|
||||||
break
|
break
|
||||||
case 'location':
|
case 'location':
|
||||||
window.location.href = event.data.data.url
|
// window.location.href = event.data.data.url
|
||||||
|
window.location.replace(event.data.data.url)
|
||||||
break
|
break
|
||||||
case 'product':
|
case 'product':
|
||||||
// eslint-disable-next-line no-case-declarations
|
// eslint-disable-next-line no-case-declarations
|
||||||
|
|
Loading…
Reference in New Issue