优化平台角色菜单分配控件宽度

This commit is contained in:
czl231
2026-08-17 20:40:56 +08:00
parent 19dc5713d7
commit c7449cb38d
4 changed files with 63 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<!--
功能渲染标准资源的新建编辑和业务动作字段控件
版本v1.4.0
版本v1.4.1
-->
<template>
<div class="field-grid">
@@ -325,8 +325,15 @@ function selectOptions(field: ResourceField) {
}
.relation-control {
display: grid;
width: 100%;
min-width: 0;
gap: 6px;
}
/* 关系选择器必须占满表单内容区,避免菜单等长名称被压成单字列。 */
.relation-control :deep(.arco-select) {
width: 100%;
min-width: 0;
}
.relation-empty {
display: grid;
justify-items: center;