From 391dc99d081d21667dcbc2f18598979c70b41d11 Mon Sep 17 00:00:00 2001 From: yaoyuhao Date: Thu, 1 Aug 2024 15:15:08 +0800 Subject: [PATCH] gx --- src/view/dialog/dialogMapDp.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/view/dialog/dialogMapDp.vue b/src/view/dialog/dialogMapDp.vue index 24f05f6..9b9da19 100644 --- a/src/view/dialog/dialogMapDp.vue +++ b/src/view/dialog/dialogMapDp.vue @@ -112,6 +112,9 @@ import { nextTick, } from "vue"; import { CircleCloseFilled } from "@element-plus/icons-vue"; +import { useRouter, useRoute } from "vue-router"; +const router = useRouter(); +const routers = useRoute(); const props = defineProps({ dialogShow: { type: Boolean, @@ -146,6 +149,9 @@ const emit = defineEmits(["close", "handle"]); const handleRowClick = (row, column, event) => { // row 是当前行的数据 console.log(row); + router.push({ + path: `/home/index/person`, + }); }; // 详情弹框 const dialogShow = ref(); @@ -308,8 +314,6 @@ const handle = (current) => { } .custom-table-font { - - font-size: 10px; + font-size: 10px; } -