wgl 4 vuotta sitten
vanhempi
commit
40f06cfe62
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/projects/home/views/Home.vue

+ 1 - 1
src/projects/home/views/Home.vue

@@ -106,7 +106,7 @@
 			},
 			asynCallBack() {
 				//如果场景是存在的则直接跳转
-				if (!this.$route.query.exchange && this.vister_scene.project && this.vister_scene.role) {
+				if (this.vister_scene && !this.$route.query.exchange && this.vister_scene.project && this.vister_scene.role) {
 					this.sure();
 				}
 			},