From 1f93aa5858770f24721f2ba41860b49c0ed90303 Mon Sep 17 00:00:00 2001 From: wangchangqi Date: Mon, 9 Jan 2023 11:42:06 +0800 Subject: [PATCH] =?UTF-8?q?(fix)=E4=BF=AE=E5=A4=8Dli=E5=9C=A8input?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=8Bvalue=E5=80=BC=E6=9C=AA=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/li/li.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/li/li.ts b/src/components/li/li.ts index f7d2f04..77aa489 100644 --- a/src/components/li/li.ts +++ b/src/components/li/li.ts @@ -303,6 +303,8 @@ export class StarLi extends StarBaseElement { + (this.value = (e.target as HTMLInputElement).value)} @focus=${() => this.setAttribute('active', '')} @blur=${() => this.removeAttribute('active')} />