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