Parcourir la source

修改点金计划重定向问题

carljin il y a 3 ans
Parent
commit
07d8f3d907
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      pages/index/index.vue

+ 2 - 1
pages/index/index.vue

@@ -326,7 +326,8 @@ export default {
     }
   },
   onLoad(page) {
-  	const type = page?.type
+	const locationLocaturl = window.location.search
+	const type = getUrlParams(locationLocaturl, 'type')
 	if (type && type === 'jumpurl') {
 		const jumpurl = localStorage.getItem('jumpUrl')
 		if (jumpurl) {