sunchengjie 9 달 전
부모
커밋
cb08282a0b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main.js

+ 1 - 0
src/main.js

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