fix(系统设置): 服务集成不能跳转和插件滚动条修改

This commit is contained in:
xinxin.wu 2023-08-28 15:18:21 +08:00 committed by 刘瑞斌
parent 3c24787947
commit 0681c3d224
2 changed files with 12 additions and 4 deletions

View File

@ -31,9 +31,7 @@
size="mini" size="mini"
class="ml-3 px-0 text-sm" class="ml-3 px-0 text-sm"
type="text" type="text"
:href="links.src" @click.stop="jumpHandler(links)"
target="_blank"
@click="jumpHandler(links)"
> >
{{ t(links.name) }} {{ t(links.name) }}
</a-button> </a-button>
@ -59,6 +57,9 @@
import ServiceList from './components/serviceList.vue'; import ServiceList from './components/serviceList.vue';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import type { StepListType, SkipTitle } from '@/models/setting/serviceIntegration'; import type { StepListType, SkipTitle } from '@/models/setting/serviceIntegration';
import { openWindow } from '@/utils/index';
import { SettingRouteEnum } from '@/enums/routeEnum';
import settings from '@/locale/zh-CN/settings';
const { t } = useI18n(); const { t } = useI18n();
const router = useRouter(); const router = useRouter();
@ -108,8 +109,12 @@
const jumpHandler = (links: SkipTitle) => { const jumpHandler = (links: SkipTitle) => {
if (links.active) if (links.active)
router.push({ router.push({
name: 'settingSystemPluginManger', name: SettingRouteEnum.SETTING_SYSTEM_PLUGIN_MANAGEMENT,
}); });
if (links.src && !links.active) {
openWindow(links.src);
}
}; };
</script> </script>

View File

@ -450,4 +450,7 @@
:deep(.arco-table-content + .arco-scrollbar-track-direction-vertical .arco-scrollbar-thumb-direction-vertical) { :deep(.arco-table-content + .arco-scrollbar-track-direction-vertical .arco-scrollbar-thumb-direction-vertical) {
height: 0 !important; height: 0 !important;
} }
:deep(.arco-table-content + .arco-scrollbar-track-direction-horizontal .arco-scrollbar-thumb-direction-horizontal) {
width: 0 !important;
}
</style> </style>