Commit 88a0b955 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改代理城市为必填

parent c5af47d8
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-07-07 13:48:35
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-07 13:48:36
* @LastEditTime: 2021-07-12 10:23:41
* @Description:
*/
import { ISchema } from '@formily/antd';
......@@ -51,6 +51,7 @@ export const schema: ISchema = {
areaCodes: {
type: 'array',
title: '代理城市',
required: true,
'x-component': 'CustomAddArray',
default: [],
items: {
......
......@@ -157,6 +157,7 @@ export const initDetailSchema = (props: GroupItem[]) => {
areas: {
type: 'array',
title: '代理城市',
required: true,
'x-component': 'CustomAddArray',
default: [],
items: {
......
......@@ -51,6 +51,7 @@ export const schema: ISchema = {
areaCodes: {
type: 'array',
title: '代理城市',
required: true,
'x-component': 'CustomAddArray',
default: [],
items: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment