From a9edc384b3c2433e084976871784fa5cb73288bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=98=E9=9D=99=E6=80=A1?= <1003346758@qq.com> Date: Sat, 26 Oct 2024 17:49:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(time-select):=20=E4=BF=AE=E5=A4=8DTimeSelec?= =?UTF-8?q?t=E6=89=8B=E5=8A=A8=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=90=8E=E6=97=A0=E6=B3=95=E5=86=8D=E6=AC=A1=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E5=88=9D=E6=AC=A1=E6=97=B6=E9=97=B4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/renderless/src/time-panel/vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/renderless/src/time-panel/vue.ts b/packages/renderless/src/time-panel/vue.ts index b01401dc31..d53164550c 100644 --- a/packages/renderless/src/time-panel/vue.ts +++ b/packages/renderless/src/time-panel/vue.ts @@ -54,7 +54,7 @@ const initState = ({ reactive, computed, api }) => { set: (value) => { const valid = state.items.some((item) => item.value === value) - state.realValue = valid ? value : '' + state.realValue = state.lastEmitValue = valid ? value : '' } }) })