Browse Source

不跳转到二级

main
不爱学习的石同学 12 months ago
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 departId = params.data.departId;
const { name } = params.data;
alert("部门id:"+departId);
alert("部门名字:"+name);
const url = router.resolve({
path: "/datav/sub1",
query: { departId: departId },
}).href;
window.open(url, "_blank");
// const departId = params.data.departId;
// const { name } = params.data;
// alert("id"+departId);
// alert(""+name);
// const url = router.resolve({
// path: "/datav/sub1",
// query: { departId: departId },
// }).href;
// window.open(url, "_blank");
}
// endregion

Loading…
Cancel
Save