src/views/system/topmenu.vue
@@ -38,7 +38,7 @@ </el-button> </template> <template #name="{ row }"> <i :class="row.source" style="margin-right: 5px" /> <i :class="row.source" class="namei" /> <span>{{ row.name }}</span> </template> <template #source="{ row }"> @@ -109,8 +109,6 @@ menuGrantList: [], menuTreeObj: [], option: { height: 'auto', calcHeight: 32, tip: false, searchShow: true, searchMenuSpan: 6, @@ -362,4 +360,7 @@ border: 0; background-color: transparent !important; } .namei { margin-right: 5px; } </style>