feat:增加项目列表

This commit is contained in:
lixg
2022-12-19 14:24:19 +08:00
parent b4a65ee6d7
commit 0fd052c0cb
4 changed files with 115 additions and 29 deletions

View File

@@ -164,7 +164,7 @@ import store from "@/store";
const detail = ref();
const userInfo = computed(() => store.state.userInfo);
const { data } = usePage(ROUTER_LIST, {});
const { data } = usePage(ROUTER_LIST, { pageSize: 60 });
console.log("datadata", data);
const router = useRouter();
const returnclick = () => {
@@ -193,7 +193,11 @@ async function gofun({ routerId, name: routerName }) {
path: "/pathdetails",
query: { routerId, routerName },
})
:window.open(`http://u-pre.boe.com/pc/forward?to=/fe-student/pathdetails&params=${encodeURIComponent(`routerId=${routerId}&routerName=${routerName}`)}`)
: window.open(
`http://u-pre.boe.com/pc/forward?to=/fe-student/pathdetails&params=${encodeURIComponent(
`routerId=${routerId}&routerName=${routerName}`
)}`
);
}
function toUnTask() {}
</script>