v2.0 更新vite3.2.3,速度非常快

This commit is contained in:
zhuoda
2022-11-13 21:21:16 +08:00
parent 5bd36cb42e
commit 945e31290e
9 changed files with 83 additions and 82 deletions

View File

@@ -59,8 +59,8 @@
const openKeys = ref([]);
// 页面跳转
function turnToPage(route) {
router.push({ name: route.menuId.toString() });
function turnToPage(menu) {
router.push({ path: menu.path });
}
/**

View File

@@ -39,7 +39,7 @@
});
const emits = defineEmits(['turnToPage']);
const turnToPage = (route) => {
emits('turnToPage', route);
const turnToPage = (menu) => {
emits('turnToPage', menu);
};
</script>