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"
class="ml-3 px-0 text-sm"
type="text"
:href="links.src"
target="_blank"
@click="jumpHandler(links)"
@click.stop="jumpHandler(links)"
>
{{ t(links.name) }}
</a-button>
@ -59,6 +57,9 @@
import ServiceList from './components/serviceList.vue';
import { useRouter } from 'vue-router';
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 router = useRouter();
@ -108,8 +109,12 @@
const jumpHandler = (links: SkipTitle) => {
if (links.active)
router.push({
name: 'settingSystemPluginManger',
name: SettingRouteEnum.SETTING_SYSTEM_PLUGIN_MANAGEMENT,
});
if (links.src && !links.active) {
openWindow(links.src);
}
};
</script>

View File

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