Explorar o código

Merge branch 'master' of http://59.110.91.129:3000/zhangmengying/AIClass into wanzi

丸子 hai 6 meses
pai
achega
d5dfe4871f
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/views/block/Blockly.vue
  2. 1 1
      src/views/block/Blockly2.vue

+ 1 - 1
src/views/block/Blockly.vue

@@ -237,7 +237,7 @@ const goLabShow = () => {
   showLampPreview.value = true;
 };
 const goBack = () => {
-  router.push("/virtual-laboratory");
+  window.location.href = "/virtual-laboratory";
 };
 // 切换灯光状态
 const toggleLight = () => {

+ 1 - 1
src/views/block/Blockly2.vue

@@ -244,7 +244,7 @@ const goLabShow = () => {
   showLampPreview.value = true;
 };
 const goBack = () => {
-  router.push("/virtual-laboratory");
+  window.location.href = "/virtual-laboratory";
 };
 // 切换灯光状态
 const toggleLight = () => {