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