sunchengjie 9 months ago
parent
commit
c9975d829d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main.js

+ 1 - 0
src/main.js

@@ -65,6 +65,7 @@ router.beforeEach((to, from, next) => {
 		} else {
 			console.log('什么都有')
 			if(to.path == '/') {
+				console.log('window.location.reload()')
 				next()
 				window.location.reload()
 			}else {