mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 12:22:10 +08:00
fix(数据源): 修复切换至jdbc链接页面显示问题
This commit is contained in:
@@ -766,3 +766,9 @@ strong {
|
||||
.tox-tinymce-inline {
|
||||
transform: translateY(-8px);
|
||||
}
|
||||
|
||||
.new-folder_tip {
|
||||
.ed-popper__arrow {
|
||||
transform: translate(46px, 0px) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1019,20 +1019,16 @@ defineExpose({
|
||||
|
||||
<style lang="less">
|
||||
.menu-outer-dv_popper {
|
||||
--ed-border-color-light: #dee0e3;
|
||||
min-width: 140px;
|
||||
margin-top: 6px !important;
|
||||
margin-left: -4px !important;
|
||||
|
||||
.ed-icon {
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.new-folder_tip {
|
||||
.ed-popper__arrow {
|
||||
transform: translate(46px, 0px) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.sort-type-normal {
|
||||
i {
|
||||
display: none;
|
||||
|
||||
@@ -831,7 +831,10 @@ const proxyAllowDrop = throttle((arg1, arg2) => {
|
||||
<el-tooltip
|
||||
class="box-item"
|
||||
effect="dark"
|
||||
offset="14"
|
||||
popper-class="new-folder_tip"
|
||||
:content="t('deDataset.new_folder')"
|
||||
arrow-offset="10"
|
||||
placement="top"
|
||||
>
|
||||
<el-icon
|
||||
@@ -845,6 +848,9 @@ const proxyAllowDrop = throttle((arg1, arg2) => {
|
||||
<el-tooltip
|
||||
class="box-item"
|
||||
effect="dark"
|
||||
popper-class="new-folder_tip"
|
||||
offset="14"
|
||||
arrow-offset="10"
|
||||
:content="t('data_set.a_new_dataset')"
|
||||
placement="top"
|
||||
>
|
||||
@@ -1287,6 +1293,17 @@ const proxyAllowDrop = throttle((arg1, arg2) => {
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
&::after {
|
||||
content: '';
|
||||
background-color: var(--ed-color-primary-1a, #3370ff1a);
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
border-radius: 4px;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1222,7 +1222,7 @@ defineExpose({
|
||||
</el-icon>
|
||||
</span>
|
||||
</el-form-item>
|
||||
<template v-if="showSSH">
|
||||
<template v-if="showSSH && form.configuration.urlType !== 'jdbcUrl'">
|
||||
<el-form-item>
|
||||
<el-checkbox v-model="form.configuration.useSSH"
|
||||
>{{ t('data_source.enable_ssh') }}
|
||||
|
||||
@@ -1118,7 +1118,14 @@ const getMenuList = (val: boolean) => {
|
||||
<div class="icon-methods">
|
||||
<span class="title"> {{ t('datasource.datasource') }} </span>
|
||||
<div v-if="rootManage" class="flex-align-center">
|
||||
<el-tooltip effect="dark" :content="t('deDataset.new_folder')" placement="top">
|
||||
<el-tooltip
|
||||
arrow-offset="10"
|
||||
offset="14"
|
||||
effect="dark"
|
||||
popper-class="new-folder_tip"
|
||||
:content="t('deDataset.new_folder')"
|
||||
placement="top"
|
||||
>
|
||||
<el-icon
|
||||
class="custom-icon btn"
|
||||
:style="{ marginRight: '20px' }"
|
||||
@@ -1127,7 +1134,14 @@ const getMenuList = (val: boolean) => {
|
||||
<Icon name="dv-new-folder"><dvNewFolder class="svg-icon" /></Icon>
|
||||
</el-icon>
|
||||
</el-tooltip>
|
||||
<el-tooltip effect="dark" :content="t('datasource.create')" placement="top">
|
||||
<el-tooltip
|
||||
arrow-offset="10"
|
||||
offset="14"
|
||||
popper-class="new-folder_tip"
|
||||
effect="dark"
|
||||
:content="t('datasource.create')"
|
||||
placement="top"
|
||||
>
|
||||
<el-icon class="custom-icon btn" @click="createDatasource">
|
||||
<Icon name="icon_file-add_outlined"
|
||||
><icon_fileAdd_outlined class="svg-icon"
|
||||
@@ -2060,6 +2074,17 @@ const getMenuList = (val: boolean) => {
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
&::after {
|
||||
content: '';
|
||||
background-color: var(--ed-color-primary-1a, #3370ff1a);
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
border-radius: 4px;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user