mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
1、样式调整
This commit is contained in:
@@ -220,7 +220,7 @@ onMounted(() => {
|
||||
flex: 1;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
font-size: 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.advance-query .module-node-menu {
|
||||
text-align: right;
|
||||
@@ -236,5 +236,6 @@ onMounted(() => {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
padding: 0px 16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -199,7 +199,7 @@ const getItemLabel = (item: ANY_OBJECT) => {
|
||||
position: relative;
|
||||
z-index: 9;
|
||||
margin-left: 5px;
|
||||
font-size: 12px;
|
||||
font-size: 14px;
|
||||
color: $color-primary;
|
||||
}
|
||||
|
||||
|
||||
@@ -155,7 +155,8 @@ const handleCreated = (editor: ANY_OBJECT) => {
|
||||
watch(
|
||||
() => props.value,
|
||||
newValue => {
|
||||
if (editorRef.value) editorRef.value.txt.html(newValue);
|
||||
if (editorRef.value && newValue !== editorRef.value.txt.html())
|
||||
editorRef.value.txt.html(newValue);
|
||||
},
|
||||
{
|
||||
deep: true,
|
||||
|
||||
@@ -22,9 +22,13 @@
|
||||
menu.menuName
|
||||
}}</span>
|
||||
</template>
|
||||
<template v-for="child in menu.children" :key="child.menuId">
|
||||
<sub-menu class="nest-menu" :menu="child" :isChild="true" />
|
||||
</template>
|
||||
<sub-menu
|
||||
class="nest-menu"
|
||||
v-for="child in menu.children"
|
||||
:key="child.menuId"
|
||||
:menu="child"
|
||||
:isChild="true"
|
||||
/>
|
||||
</el-sub-menu>
|
||||
</div>
|
||||
</template>
|
||||
@@ -63,9 +67,9 @@ const getTextStyle = (isShow: boolean) => {
|
||||
.nest-menu :deep(.el-menu-item span:first-child),
|
||||
.nest-menu :deep(.el-menu-item .menu-icon:first-child),
|
||||
.nest-menu :deep(.el-submenu__title span:first-child) {
|
||||
padding-left: 8px !important;
|
||||
padding-left: 14px !important;
|
||||
}
|
||||
.nest-menu :deep(.el-submenu__title .menu-icon:first-child) {
|
||||
margin-left: 8px !important;
|
||||
margin-left: 14px !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user