Explorar o código

修改点金计划重定向问题

carljin %!s(int64=4) %!d(string=hai) anos
pai
achega
07d8f3d907
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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) {