sunchengjie hace 9 meses
padre
commit
cb08282a0b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/main.js

+ 1 - 0
src/main.js

@@ -54,6 +54,7 @@ router.beforeEach((to, from, next) => {
 			console.log('无openId')
 			console.log('无openId')
 			getWxOpenId().then(() => {
 			getWxOpenId().then(() => {
 				if(to.path == '/') {
 				if(to.path == '/') {
+					console.log('window.location.reload()')
 					next()
 					next()
 					window.location.reload()
 					window.location.reload()
 				}else {
 				}else {