修改
This commit is contained in:
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user