From 43f29fcb38872147a68ee5a801dcea2e696ab30b Mon Sep 17 00:00:00 2001 From: lijisanxiong <1518062161@qq.com> Date: Thu, 18 Jul 2024 22:18:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=20dropdown=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=85=A8=E5=B1=80=E5=94=AF=E4=B8=80popper?= =?UTF-8?q?=E7=B1=BB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx b/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx index 43a61f593..dc485d1f1 100644 --- a/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx +++ b/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx @@ -432,6 +432,15 @@ export const IBizDropdown = defineComponent({ this.c.editorParams.type === 'round' ? this.ns.bm('popper', 'round') : '' + } ${ + this.c.view + ? this.ns.bm( + 'popper', + `${this.c.view.model.codeName?.toLowerCase()}-${ + this.c.model.id + }`, + ) + : '' }`} onBlur={this.onBlur} onFocus={this.onFocus} -- Gitee From a439f0d1cdd33d392ae29c18e8b4e29f7a97ce45 Mon Sep 17 00:00:00 2001 From: lijisanxiong <1518062161@qq.com> Date: Thu, 18 Jul 2024 22:25:51 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=20dropdown=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=94=AF=E4=B8=80popper=E7=B1=BB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx b/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx index dc485d1f1..d694aa9e3 100644 --- a/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx +++ b/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx @@ -432,16 +432,7 @@ export const IBizDropdown = defineComponent({ this.c.editorParams.type === 'round' ? this.ns.bm('popper', 'round') : '' - } ${ - this.c.view - ? this.ns.bm( - 'popper', - `${this.c.view.model.codeName?.toLowerCase()}-${ - this.c.model.id - }`, - ) - : '' - }`} + } ${this.ns.bm('popper', `${this.c.model.id}`)}`} onBlur={this.onBlur} onFocus={this.onFocus} onKeyup={this.handleKeyUp} -- Gitee