From e2762122bf9bd83d103138fbc932d89e57917b65 Mon Sep 17 00:00:00 2001 From: lilei946 Date: Fri, 22 May 2026 14:46:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=92=8C=E5=8E=9F=E5=AD=90=E5=B2=9Bscene?= =?UTF-8?q?=E5=AA=92=E4=BD=93=E6=9F=A5=E8=AF=A2=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hap-compiler/src/style/mediaquery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hap-compiler/src/style/mediaquery.js b/packages/hap-compiler/src/style/mediaquery.js index df900a94..2c2f477c 100644 --- a/packages/hap-compiler/src/style/mediaquery.js +++ b/packages/hap-compiler/src/style/mediaquery.js @@ -115,7 +115,7 @@ const featureValidator = { }, scene(value) { const reg = - /^(assistantscreen|launcher|globalsearch|calendar|lockscreen|suggestion|voiceassistant|sms|servicecenter|cardesktop|pictorial)$/ + /^(assistantscreen|launcher|globalsearch|calendar|lockscreen|suggestion|voiceassistant|sms|servicecenter|cardesktop|pictorial|notification|island)$/ if (reg.test(value)) { return { value } } @@ -126,7 +126,7 @@ const featureValidator = { feature + '` 的值 `' + value + - '` 不正确, 必须为 `assistantscreen | launcher | globalsearch | calendar | lockscreen | suggestion | voiceassistant | sms | servicecenter | cardesktop | pictorial`' + '` 不正确, 必须为 `assistantscreen | launcher | globalsearch | calendar | lockscreen | suggestion | voiceassistant | sms | servicecenter | cardesktop | pictorial | notification | island`' ) } }