From c4e17e16e32f396432303270004883da6ac27161 Mon Sep 17 00:00:00 2001 From: wangting <wangting@vci-tech.com> Date: 星期四, 26 十二月 2024 17:56:27 +0800 Subject: [PATCH] 修改样式,action管理左侧树去掉按钮 --- Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue b/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue index ce496d7..78eda45 100644 --- a/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue @@ -6,9 +6,8 @@ <avue-tree :key="refresh" ref="tree" :data="treeData" :option="treeOption" node-key="id" @node-click="nodeClick"> <span slot-scope="{ node, data }" class="el-tree-node__label"> - <span> -<!-- <i :class="data.icon"></i>--> - <icon-show :name="data.icon"></icon-show> + <span style="display: flex"> + <icon-show :name="data.icon"></icon-show> {{ (node || {}).label }} </span> </span> @@ -70,7 +69,7 @@ <el-button icon="el-icon-close" plain size="small" type="danger" @click="deleteOperationClickHandler">鍒犻櫎 </el-button> </div> - <el-form ref="form" :model="form" label-width="85px" style="max-height: calc(100vh - 200px);overflow: auto;"> + <el-form ref="form" :model="form" label-width="85px" size="small" style="max-height: calc(100vh - 200px);overflow: auto;"> <span v-if="form.category !== 1"> <el-form-item label="妯″潡鍚嶏細"> <el-input v-model="form.name" :disabled="!editStatus && !addStatus" placeholder="璇疯緭鍏ユā鍧楀悕"></el-input> @@ -251,7 +250,7 @@ id: item.id, name: item.name, leaf: !item.hasChildren, - icon: item.source || 'el-icon-s-home' + icon: item.source || 'iconoir:home' } })) }) @@ -554,5 +553,4 @@ justify-content: left; margin-bottom: 15px; } - </style> -- Gitblit v1.9.3