This commit is contained in:
yuping
2022-12-15 18:47:40 +08:00
parent f2a41b9cc8
commit b2258cb6e2

View File

@@ -176,11 +176,10 @@ async function gofun({routerId, name: routerName}) {
// detail.value = data.data
// state.showmapdetail = true;
// router.push({path: "/pathdetails", query: {routerId}});
// import.meta.env.DEV ? router.push({
// path: "/pathdetails",
// query: {routerId, routerName}
// }) :
window.open(`http://u-pre.boe.com/pc/forward?to=/fe-student/pathdetails&params=${encodeURIComponent(`routerId=${routerId}&routerName=${routerName}`)}`)
import.meta.env.MODE === 'development' ? router.push({
path: "/pathdetails",
query: {routerId, routerName}
}) : window.open(`http://u-pre.boe.com/pc/forward?to=/fe-student/pathdetails&params=${encodeURIComponent(`routerId=${routerId}&routerName=${routerName}`)}`)
}
function toUnTask() {