fix: 区域管理字段必填校验
This commit is contained in:
parent
cb0a15e5fb
commit
69d17e29ff
@ -62,11 +62,13 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
label: '区域',
|
label: '区域',
|
||||||
fieldName: 'area',
|
fieldName: 'area',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
|
rules: 'required',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '摄像机',
|
label: '摄像机',
|
||||||
fieldName: 'deviceManageId',
|
fieldName: 'deviceManageId',
|
||||||
component: 'ApiSelect',
|
component: 'ApiSelect',
|
||||||
|
rules: 'required',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: async () => {
|
api: async () => {
|
||||||
const res = await deviceManageList({
|
const res = await deviceManageList({
|
||||||
|
Loading…
Reference in New Issue
Block a user