修改
This commit is contained in:
@ -147,9 +147,9 @@
|
|||||||
>
|
>
|
||||||
<el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入数据" />
|
<el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入数据" />
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<span class="dialog-footer">
|
<span class="dialog-footer" style="display: block; text-align: center">
|
||||||
<el-button @click="closeDialog">取消</el-button>
|
|
||||||
<el-button type="primary" @click="addType"> 确定 </el-button>
|
<el-button type="primary" @click="addType"> 确定 </el-button>
|
||||||
|
<el-button @click="closeDialog">取消</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -543,7 +543,7 @@ let func = () => {
|
|||||||
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
|
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
contextMenu.visible = false
|
contextMenu.visible = false
|
||||||
}, 100)
|
}, 200)
|
||||||
}
|
}
|
||||||
const toggleExpand = (row: any) => {
|
const toggleExpand = (row: any) => {
|
||||||
if (row.childNodes.length != 0) {
|
if (row.childNodes.length != 0) {
|
||||||
|
|||||||
@ -149,13 +149,13 @@
|
|||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
v-model.trim="modelType"
|
v-model.trim="modelType"
|
||||||
style="width(100% - 60px)"
|
style="width: calc(100% - 60px)"
|
||||||
placeholder="请输入模型类型名称"
|
placeholder="请输入模型类型名称"
|
||||||
/>
|
/>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<span class="dialog-footer" style="text-align: center">
|
<span class="dialog-footer" style="display: block; text-align: center">
|
||||||
<el-button @click="closeDialog">取消</el-button>
|
|
||||||
<el-button type="primary" @click="addType"> 确定 </el-button>
|
<el-button type="primary" @click="addType"> 确定 </el-button>
|
||||||
|
<el-button @click="closeDialog">取消</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -611,7 +611,7 @@ let func = () => {
|
|||||||
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
|
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
contextMenu.visible = false
|
contextMenu.visible = false
|
||||||
}, 100)
|
}, 200)
|
||||||
}
|
}
|
||||||
const toggleExpand = (row: any) => {
|
const toggleExpand = (row: any) => {
|
||||||
if (row.childNodes.length != 0) {
|
if (row.childNodes.length != 0) {
|
||||||
|
|||||||
@ -179,9 +179,9 @@
|
|||||||
>
|
>
|
||||||
<el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入名称" />
|
<el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入名称" />
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<span class="dialog-footer">
|
<span class="dialog-footer" style="display: block; text-align: center">
|
||||||
<el-button @click="closeDialog">取消</el-button>
|
|
||||||
<el-button type="primary" @click="addType"> 确定 </el-button>
|
<el-button type="primary" @click="addType"> 确定 </el-button>
|
||||||
|
<el-button @click="closeDialog">取消</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -626,7 +626,7 @@ let func = () => {
|
|||||||
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
|
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
contextMenu.visible = false
|
contextMenu.visible = false
|
||||||
}, 100)
|
}, 200)
|
||||||
}
|
}
|
||||||
const toggleExpand = (row: any) => {
|
const toggleExpand = (row: any) => {
|
||||||
if (row.childNodes.length != 0) {
|
if (row.childNodes.length != 0) {
|
||||||
|
|||||||
@ -177,11 +177,14 @@ defineExpose({
|
|||||||
height: 50vh;
|
height: 50vh;
|
||||||
|
|
||||||
:deep(.el-dialog) {
|
:deep(.el-dialog) {
|
||||||
background:
|
background: linear-gradient(
|
||||||
linear-gradient(180deg, rgba(var(--color-base1), 0.2) 0%, rgba(var(--color-base1), 0) 100%),
|
180deg,
|
||||||
|
rgba(var(--color-base1), 0.2) 0%,
|
||||||
|
rgba(var(--color-base1), 0) 100%
|
||||||
|
),
|
||||||
rgba(0, 0, 0, 0.6);
|
rgba(0, 0, 0, 0.6);
|
||||||
border: 1px solid var(--color-border1);
|
border: 1px solid var(--color-border1);
|
||||||
padding-left: 0 !important;
|
// padding-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-dialog__body) {
|
:deep(.el-dialog__body) {
|
||||||
|
|||||||
Reference in New Issue
Block a user