shaogen1995 1 年之前
父节点
当前提交
a67e21a9bf
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      code/src/pages/B1Village/index.tsx
  2. 1 1
      code/src/pages/B1VillageM/index.tsx

+ 1 - 1
code/src/pages/B1Village/index.tsx

@@ -147,7 +147,7 @@ function B1Village() {
 
   // 点击右侧的 场景 或者 构件
   const rightClickFu = useCallback((id: string, name: string) => {
-    if (name === "室内场景") history.push(`/scene?id=${id}`);
+    if (name === "VR场景") history.push(`/scene?id=${id}`);
     else history.push(`/buildInfo?id=${id}`);
   }, []);
 

+ 1 - 1
code/src/pages/B1VillageM/index.tsx

@@ -146,7 +146,7 @@ function B1VillageM() {
 
   // 点击右侧的 场景 或者 构件
   const rightClickFu = useCallback((id: string, name: string) => {
-    if (name === "室内场景") history.push(`/scene?id=${id}`);
+    if (name === "VR场景") history.push(`/scene?id=${id}`);
     else history.push(`/buildInfo?id=${id}`);
   }, []);