mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 09:26:46 +08:00
feat:修改版本及路径跳转
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user