diff --git a/packages/amis-editor-core/src/component/factory.tsx b/packages/amis-editor-core/src/component/factory.tsx index 133506818c4..2b7e8319836 100644 --- a/packages/amis-editor-core/src/component/factory.tsx +++ b/packages/amis-editor-core/src/component/factory.tsx @@ -161,7 +161,7 @@ export function makeWrapper( // $$id 变化,渲染器最好也变化 if (node?.$$id) { props = props || {}; // props 可能为 undefined - props.key = node.$$id || props.key; + props.key = `${props.key}-${node.$$id}`; } return render(region, node, {...props, $$editor: info}); diff --git a/packages/amis-ui/scss/components/form/_select.scss b/packages/amis-ui/scss/components/form/_select.scss index b41ed226a41..14eeb940519 100644 --- a/packages/amis-ui/scss/components/form/_select.scss +++ b/packages/amis-ui/scss/components/form/_select.scss @@ -149,7 +149,6 @@ } .#{$ns}PopOver.#{$ns}Select-popover { - min-width: px2rem(120px); &.#{$ns}PopOver--v-top { margin-top: px2rem(4px); } @@ -591,7 +590,7 @@ border: var(--Form-select-outer-borderWidth) solid var(--Form-select-outer-borderColor); box-shadow: var(--Form-select-outer-boxShadow); - // min-width: px2rem(100px); + min-width: px2rem(120px); // PopOver 上已经配置了,这个要是配置就会覆盖,所以先干掉好了 // z-index: 10;