diff --git a/src/App.vue b/src/App.vue index f6f6a31..fd0e45b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,7 +27,7 @@ import { GET_USER_INFO } from "@/api/ThirdApi"; import { getCookie } from "@/api/utils"; import { USER_INFO } from "@/api/api"; -console.log("版本1.2.12------------"); +console.log("版本1.2.13------------"); const store = useStore(); const router = useRouter(); diff --git a/src/components/PathDetailImage.vue b/src/components/PathDetailImage.vue index 8281c71..997bebe 100644 --- a/src/components/PathDetailImage.vue +++ b/src/components/PathDetailImage.vue @@ -132,22 +132,13 @@ function toDetail(i) { if (current.value !== i) { return; } - import.meta.env.MODE === "development" || import.meta.env.MODE === "test" - ? router.push({ - path: "/pathmappage", - query: { - routerId: props.routerId, - // routerName: props.detail.routerName, - }, - }) - : window.open( - `${ - window.location.protocol + import.meta.env.VITE_BOE_PATH_DETAIL_URL - }/pathmappage¶ms=${encodeURIComponent( - `routerId=${props.routerId}` - )}`, - "_top" - ); + router.push({ + path: "/pathmappage", + query: { + routerId: props.routerId, + // routerName: props.detail.routerName, + }, + }); } function close() { diff --git a/src/views/projectdetails/ProjectPath.vue b/src/views/projectdetails/ProjectPath.vue index dfa7bab..a670d3d 100644 --- a/src/views/projectdetails/ProjectPath.vue +++ b/src/views/projectdetails/ProjectPath.vue @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2023-01-19 11:28:11 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2023-02-28 16:40:49 + * @LastEditTime: 2023-03-01 16:43:42 * @FilePath: /stu_h5/src/views/projectdetails/ProjectPath.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE -->