✨ 新页面打开执行日志.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<a-link target="_blank" href="https://gitee.com/lijiahangmax/orion-ops-pro">gitee</a-link>
|
||||
<a-link target="_blank" href="https://lijiahangmax.gitee.io/orion-ops-pro">文档</a-link>
|
||||
<a-link target="_blank" href="https://github.com/lijiahangmax/orion-ops-pro/blob/main/LICENSE">License</a-link>
|
||||
<span title="当前版本">v{{ version }}</span>
|
||||
<a-link target="_blank" :href="`https://github.com/lijiahangmax/orion-ops-pro/releases/tag/v${version}`">v{{ version }} 开源版</a-link>
|
||||
</a-space>
|
||||
<span class="copyright">
|
||||
Copyright<icon-copyright /> 2024 Li Jiahang All rights reserved.
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<a-button class="nav-btn"
|
||||
type="outline"
|
||||
shape="circle"
|
||||
@click="openNewRoute('terminal')">
|
||||
@click="openNewRoute({ name: 'terminal' })">
|
||||
<template #icon>
|
||||
<icon-code-square />
|
||||
</template>
|
||||
@@ -213,10 +213,10 @@
|
||||
import { openAppSettingKey, toggleDrawerMenuKey } from '@/types/symbol';
|
||||
import { preferenceTipsKey } from './const';
|
||||
import { REDIRECT_ROUTE_NAME, routerToTag } from '@/router/constants';
|
||||
import { openWindow } from '@/utils';
|
||||
import { openNewRoute } from '@/router';
|
||||
import MenuTree from '@/components/system/menu/tree/index.vue';
|
||||
import UpdatePasswordModal from '@/components/user/user/update-password-modal/index.vue';
|
||||
import MessageBox from '@/components/system/message-box/index.vue';
|
||||
import UpdatePasswordModal from '@/components/user/user/update-password-modal/index.vue';
|
||||
|
||||
const tipsStore = useTipsStore();
|
||||
const appStore = useAppStore();
|
||||
@@ -280,12 +280,6 @@
|
||||
triggerMouseEvent(localeRef);
|
||||
};
|
||||
|
||||
// 打开新页面
|
||||
const openNewRoute = (name: string) => {
|
||||
const { href } = router.resolve({ name });
|
||||
openWindow(href);
|
||||
};
|
||||
|
||||
// 刷新页面
|
||||
const reloadCurrent = async () => {
|
||||
if (appStore.tabBar) {
|
||||
|
||||
Reference in New Issue
Block a user