wgl hace 4 años
padre
commit
40f06cfe62
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();
 				}
 			},