Browse Source

不跳转到二级

main
parent
commit
98c3407de5
  1. 18
      src/views/datav/Gobal.vue

18
src/views/datav/Gobal.vue

@ -486,15 +486,15 @@ watch(time, () => {
}); });
const handleClick = (params) => { const handleClick = (params) => {
const departId = params.data.departId; // const departId = params.data.departId;
const { name } = params.data; // const { name } = params.data;
alert("部门id:"+departId); // alert("id"+departId);
alert("部门名字:"+name); // alert(""+name);
const url = router.resolve({ // const url = router.resolve({
path: "/datav/sub1", // path: "/datav/sub1",
query: { departId: departId }, // query: { departId: departId },
}).href; // }).href;
window.open(url, "_blank"); // window.open(url, "_blank");
} }
// endregion // endregion

Loading…
Cancel
Save