|
|
@@ -61,8 +61,9 @@ const CreateForm = (props) => { |
|
|
|
<Form.Item label={'店铺地址'} name="store_Addr" rules={[{ required: true,max:100 }]}> |
|
|
|
<Input placeholder="成都市武侯区桂溪街道环球中心N5-9111C" /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item label={'店铺地址坐标'} name="store_Loc" rules={[{ required: true,max:100,pattern: /^(1[1-2][0-9]\.\d{6,12},((3[0-6])|(2[8-9]))\.\d{6,12};){2,}1[1-2][0-9]\.\d{6,12},((3[0-6])|(2[8-9]))\.\d{6,12}$/, |
|
|
|
message: '经纬度格式不对'}]}> |
|
|
|
{/* ,pattern: /^(1[1-2][0-9]\.\d{6,12},((3[0-6])|(2[8-9]))\.\d{6,12};){2,}1[1-2][0-9]\.\d{6,12},((3[0-6])|(2[8-9]))\.\d{6,12}$/, |
|
|
|
message: '经纬度格式不对'} */} |
|
|
|
<Form.Item label={'店铺地址坐标'} name="store_Loc" rules={[{ required: true,max:100}]}> |
|
|
|
<Input placeholder="104.070734,30.575041" /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="sort" label="排序"> |
|
|
|