mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-13 04:46:48 +08:00
-- 路径和项目详情页跳转
This commit is contained in:
@@ -208,10 +208,16 @@ const resetClick = () => {
|
||||
//搜索--------------end-----------------------------------------
|
||||
const router = useRouter();
|
||||
const goProjectDetails = (value) => {
|
||||
router.push({
|
||||
path: "/projectdetails",
|
||||
query: { projectId: value.projectId },
|
||||
});
|
||||
import.meta.env.MODE === "development"
|
||||
? router.push({
|
||||
path: "/projectdetails",
|
||||
query: { projectId: value.projectId },
|
||||
})
|
||||
: window.open(
|
||||
`${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/projectdetails¶ms=${encodeURIComponent(
|
||||
`projectId=${routerId}`
|
||||
)}`
|
||||
);
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user