Commit 21312de2f02f1dd9c0b33ca2778340488815c987
Merge branch 'fengtao' into 'main_dev'
fix: 统一枚举名称 See merge request yunteng/thingskit-front!1190
Showing
2 changed files
with
3 additions
and
3 deletions
... | ... | @@ -195,7 +195,7 @@ |
195 | 195 | isUpdate: true, |
196 | 196 | record, |
197 | 197 | }; |
198 | - if (record.accessMode === AccessMode.Streaming && type === VideoPlatformEnum.HAIKANG) | |
198 | + if (record.accessMode === AccessMode.Streaming && type === VideoPlatformEnum.ISC) | |
199 | 199 | openModal1(true, commonRecord); |
200 | 200 | else openModal(true, commonRecord); |
201 | 201 | }; | ... | ... |
... | ... | @@ -118,7 +118,7 @@ export const searchFormSchema: FormSchema[] = [ |
118 | 118 | |
119 | 119 | export enum VideoPlatformEnum { |
120 | 120 | // 海康 |
121 | - SCI = 0, | |
121 | + ISC = 0, | |
122 | 122 | // 萤石云 |
123 | 123 | FLUORITE = 1, |
124 | 124 | } |
... | ... | @@ -243,7 +243,7 @@ export const formSchema: QFormSchema[] = [ |
243 | 243 | label: '流媒体平台', |
244 | 244 | component: 'ApiRadioGroup', |
245 | 245 | required: true, |
246 | - defaultValue: VideoPlatformEnum.SCI, | |
246 | + defaultValue: VideoPlatformEnum.ISC, | |
247 | 247 | ifShow: ({ values }) => values.accessMode === AccessMode.Streaming, |
248 | 248 | componentProps: ({ formActionType }) => { |
249 | 249 | return { | ... | ... |