|
|
@@ -43,11 +43,13 @@ import lyTop from "./top/index.vue";
|
|
|
import lySlide from "./slide/index.vue";
|
|
|
import { routeIsSystem, router } from "@/router";
|
|
|
import { computed, ref, onMounted, watch } from "vue";
|
|
|
+import { ui18n } from '@/i18n'
|
|
|
import { menuRouteNames } from "@/app";
|
|
|
// import { setUrlData } from "@/store/user";
|
|
|
import { useRouter, useRoute } from "vue-router";
|
|
|
import { updateByTreeFileLists, getCaseSceneListData, getUrlSrc, getcaseLists, getCaseSceneList } from "@/store/case";
|
|
|
import { json } from "stream/consumers";
|
|
|
+const locale = ui18n.locale
|
|
|
const isSystem = computed(() => routeIsSystem());
|
|
|
const router = useRouter();
|
|
|
const caseId = computed(() => {
|
|
|
@@ -92,7 +94,7 @@ const init = async () => {
|
|
|
sceneList.value = listss;
|
|
|
if(listss.length){
|
|
|
sceneList.value.unshift({ id: -1, type: 99, name: '多元融合' });
|
|
|
- let url = getUrlSrc({ id: 0 }, caseId.value)
|
|
|
+ let url = getUrlSrc({ id: 0 }, caseId.value, locale.value)
|
|
|
sceneURL.value = url;
|
|
|
}
|
|
|
console.log('init', modeList.value, sceneList.value, modeList.value.length);
|