File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/hap-compiler/src/style Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ const featureValidator = {
114114 } ,
115115 scene ( value ) {
116116 const reg =
117- / ^ ( a s s i s t a n t s c r e e n | l a u n c h e r | g l o b a l s e a r c h | c a l e n d a r | l o c k s c r e e n | s u g g e s t i o n | v o i c e a s s i s t a n t | s m s | s e r v i c e c e n t e r ) $ /
117+ / ^ ( a s s i s t a n t s c r e e n | l a u n c h e r | g l o b a l s e a r c h | c a l e n d a r | l o c k s c r e e n | s u g g e s t i o n | v o i c e a s s i s t a n t | s m s | s e r v i c e c e n t e r | c a r d e s k t o p ) $ /
118118 if ( reg . test ( value ) ) {
119119 return { value }
120120 }
@@ -125,7 +125,7 @@ const featureValidator = {
125125 feature +
126126 '` 的值 `' +
127127 value +
128- '` 不正确, 必须为 `assistantscreen | launcher | globalsearch | calendar | lockscreen | suggestion | voiceassistant | sms | servicecenter`'
128+ '` 不正确, 必须为 `assistantscreen | launcher | globalsearch | calendar | lockscreen | suggestion | voiceassistant | sms | servicecenter | cardesktop `'
129129 )
130130 }
131131 }
You can’t perform that action at this time.
0 commit comments