Procházet zdrojové kódy

修改点金计划重定向问题

carljin před 3 roky
rodič
revize
07d8f3d907
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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) {