Browse Source

fix: 组件调整

main
xuziqiang 3 months ago
parent
commit
4bbb5c5133
  1. 3
      lib/component/tree/tree-api.vue
  2. 3
      lib/saas/view/system/layout/header.vue

3
lib/component/tree/tree-api.vue

@ -1,4 +1,5 @@
<template>
<a-spin :spinning="treeState.loading">
<div class="ns-tree-form">
<div v-show="header" class="ns-tree-title">
<ns-icon :name="header.icon" size="14" />
@ -8,7 +9,7 @@
<ns-form ref="formElRef" v-bind="formConfig" :model="formModel" @finish="formFinish" />
</div>
</div>
<a-spin :spinning="treeState.loading">
<div style="min-height: 300px">
<ns-tree v-if="treeData?.length" v-bind="getBindValue" v-model:selectedKeys="selectedKeys">
<template #[item]="data" v-for="(item, index) in Object.keys($slots)" :key="index">

3
lib/saas/view/system/layout/header.vue

@ -436,6 +436,9 @@
line-height: 40px;
color: @primary-color;
text-align: left;
overflow: hidden;
text-wrap: nowrap;
text-overflow: ellipsis;
}
}
:deep(.header-menu .ant-menu-title-content) {

Loading…
Cancel
Save