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 = {
114
114
} ,
115
115
scene ( value ) {
116
116
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 ) $ /
118
118
if ( reg . test ( value ) ) {
119
119
return { value }
120
120
}
@@ -125,7 +125,7 @@ const featureValidator = {
125
125
feature +
126
126
'` 的值 `' +
127
127
value +
128
- '` 不正确, 必须为 `assistantscreen | launcher | globalsearch | calendar | lockscreen | suggestion | voiceassistant | sms | servicecenter`'
128
+ '` 不正确, 必须为 `assistantscreen | launcher | globalsearch | calendar | lockscreen | suggestion | voiceassistant | sms | servicecenter | cardesktop `'
129
129
)
130
130
}
131
131
}
You can’t perform that action at this time.
0 commit comments