This commit is contained in:
2025-11-28 15:50:56 +08:00
parent a9c3aeaa73
commit 2df8514867
4 changed files with 26 additions and 23 deletions

View File

@ -147,9 +147,9 @@
>
<el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入数据" />
<template #footer>
<span class="dialog-footer">
<el-button @click="closeDialog">取消</el-button>
<span class="dialog-footer" style="display: block; text-align: center">
<el-button type="primary" @click="addType"> 确定 </el-button>
<el-button @click="closeDialog">取消</el-button>
</span>
</template>
</el-dialog>
@ -543,7 +543,7 @@ let func = () => {
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
setTimeout(() => {
contextMenu.visible = false
}, 100)
}, 200)
}
const toggleExpand = (row: any) => {
if (row.childNodes.length != 0) {

View File

@ -149,13 +149,13 @@
>
<el-input
v-model.trim="modelType"
style="width(100% - 60px)"
style="width: calc(100% - 60px)"
placeholder="请输入模型类型名称"
/>
<template #footer>
<span class="dialog-footer" style="text-align: center">
<el-button @click="closeDialog">取消</el-button>
<span class="dialog-footer" style="display: block; text-align: center">
<el-button type="primary" @click="addType"> 确定 </el-button>
<el-button @click="closeDialog">取消</el-button>
</span>
</template>
</el-dialog>
@ -611,7 +611,7 @@ let func = () => {
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
setTimeout(() => {
contextMenu.visible = false
}, 100)
}, 200)
}
const toggleExpand = (row: any) => {
if (row.childNodes.length != 0) {

View File

@ -179,9 +179,9 @@
>
<el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入名称" />
<template #footer>
<span class="dialog-footer">
<el-button @click="closeDialog">取消</el-button>
<span class="dialog-footer" style="display: block; text-align: center">
<el-button type="primary" @click="addType"> 确定 </el-button>
<el-button @click="closeDialog">取消</el-button>
</span>
</template>
</el-dialog>
@ -626,7 +626,7 @@ let func = () => {
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
setTimeout(() => {
contextMenu.visible = false
}, 100)
}, 200)
}
const toggleExpand = (row: any) => {
if (row.childNodes.length != 0) {

View File

@ -177,11 +177,14 @@ defineExpose({
height: 50vh;
:deep(.el-dialog) {
background:
linear-gradient(180deg, rgba(var(--color-base1), 0.2) 0%, rgba(var(--color-base1), 0) 100%),
background: linear-gradient(
180deg,
rgba(var(--color-base1), 0.2) 0%,
rgba(var(--color-base1), 0) 100%
),
rgba(0, 0, 0, 0.6);
border: 1px solid var(--color-border1);
padding-left: 0 !important;
// padding-left: 0 !important;
}
:deep(.el-dialog__body) {