|
@@ -28,7 +28,7 @@
|
|
|
<div class="title-box">
|
|
<div class="title-box">
|
|
|
<div class="box-icon" @click="goBack">
|
|
<div class="box-icon" @click="goBack">
|
|
|
<el-icon class="left-icon"><ArrowLeftBold /></el-icon>
|
|
<el-icon class="left-icon"><ArrowLeftBold /></el-icon>
|
|
|
- {{ personName }}
|
|
|
|
|
|
|
+ 返回数字人 | {{ personName }}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -49,6 +49,7 @@ import { useRouter, useRoute } from "vue-router";
|
|
|
import LeftPanel from "@/components/LeftPanel.vue";
|
|
import LeftPanel from "@/components/LeftPanel.vue";
|
|
|
import { ArrowLeftBold } from "@element-plus/icons-vue";
|
|
import { ArrowLeftBold } from "@element-plus/icons-vue";
|
|
|
import TextToText from "@/components/ai/text/TextToText.vue";
|
|
import TextToText from "@/components/ai/text/TextToText.vue";
|
|
|
|
|
+import {homeRoutes} from "@/router/index.js";
|
|
|
|
|
|
|
|
const leftPanelRef = ref(null);
|
|
const leftPanelRef = ref(null);
|
|
|
|
|
|
|
@@ -70,7 +71,7 @@ const goBack = () => {
|
|
|
// 默认返回ai-laboratory
|
|
// 默认返回ai-laboratory
|
|
|
router.push("/ai-laboratory");
|
|
router.push("/ai-laboratory");
|
|
|
} else {
|
|
} else {
|
|
|
- router.push(fromPage);
|
|
|
|
|
|
|
+ router.push(homeRoutes.home);
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|