|
|
@@ -22,7 +22,7 @@ const token = accessStore.accessToken;
|
|
|
const isLogin = computed(() => !!userStore.userInfo);
|
|
|
|
|
|
const menus = computed(() => [
|
|
|
- { title: $t('homeMenu.toolDownloads'), path: '/Views/Tools/Index.html' },
|
|
|
+ { title: $t('homeMenu.toolDownloads'), path: '/tool-downloads' },
|
|
|
{
|
|
|
title: $t('homeMenu.aIGeneratedApps'),
|
|
|
path: '/Views/Designer/AIGenerateApp.html',
|
|
|
@@ -72,7 +72,11 @@ function handleLogout() {
|
|
|
}
|
|
|
|
|
|
function handleClick(path: string) {
|
|
|
- window.open(path, '_blank');
|
|
|
+ if (path === '/tool-downloads') {
|
|
|
+ router.push(path);
|
|
|
+ } else {
|
|
|
+ window.open(path, '_blank');
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
function handleHome() {
|