Showing
2 changed files
with
8 additions
and
2 deletions
... | ... | @@ -19,6 +19,7 @@ import { uploadThumbnail } from '/@/api/configuration/center/configurationCenter |
19 | 19 | import { getDeviceProfileOtaPackages, getOtaPackageInfo } from '/@/api/ota'; |
20 | 20 | import { QueryDeviceProfileOtaPackagesType } from '/@/api/ota/model'; |
21 | 21 | import { OTAPackageType } from '/@/enums/otaEnum'; |
22 | +import { TransportTypeEnum } from '/@/enums/deviceEnum'; | |
22 | 23 | |
23 | 24 | export enum Mode { |
24 | 25 | CARD = 'card', |
... | ... | @@ -406,6 +407,11 @@ export const step2Schemas: FormSchema[] = [ |
406 | 407 | required: true, |
407 | 408 | label: '接入协议', |
408 | 409 | defaultValue: 'DEFAULT', |
410 | + helpMessage({ model }) { | |
411 | + return model?.transportType === TransportTypeEnum.GBT28181 | |
412 | + ? ['GBT28181协议使用的是ZLMediaKit流媒体服务框架'] | |
413 | + : []; | |
414 | + }, | |
409 | 415 | componentProps() { |
410 | 416 | return { |
411 | 417 | options: [ |
... | ... | @@ -418,7 +424,7 @@ export const step2Schemas: FormSchema[] = [ |
418 | 424 | getPopupContainer: () => document.body, |
419 | 425 | }; |
420 | 426 | }, |
421 | - colProps: { span: 10 }, | |
427 | + colProps: { span: 12 }, | |
422 | 428 | }, |
423 | 429 | ]; |
424 | 430 | ... | ... |