张延森 3 years ago
parent
commit
00255e808f
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      config/proxy.js
  2. 2
    2
      src/pages/building/Edit/Panorama/Form.jsx

+ 1
- 1
config/proxy.js View File

9
   dev: {
9
   dev: {
10
     '/api/': {
10
     '/api/': {
11
       // target: 'https://xlk.njyz.tech/',
11
       // target: 'https://xlk.njyz.tech/',
12
-      target: 'http://localhost:8081/',
12
+      target: 'http://localhost:8567/',
13
       // target: 'https://xlj.newlandsh.com/',
13
       // target: 'https://xlj.newlandsh.com/',
14
       changeOrigin: true,
14
       changeOrigin: true,
15
       pathRewrite: {
15
       pathRewrite: {

+ 2
- 2
src/pages/building/Edit/Panorama/Form.jsx View File

50
           </Radio.Group>,
50
           </Radio.Group>,
51
         )}
51
         )}
52
       </Form.Item>
52
       </Form.Item>
53
-      {panoramaType == 'apartment' && (
53
+      {/* {panoramaType == 'apartment' && (
54
         <Form.Item label="全景内容">
54
         <Form.Item label="全景内容">
55
           {getFieldDecorator('apartmentId', {
55
           {getFieldDecorator('apartmentId', {
56
             rules: [{ required: true, message: '请选择全景内容' }],
56
             rules: [{ required: true, message: '请选择全景内容' }],
71
             rules: [{ required: true, message: '请输入全景内容' }],
71
             rules: [{ required: true, message: '请输入全景内容' }],
72
           })(<Input placeholder="请简述全景内容" />)}
72
           })(<Input placeholder="请简述全景内容" />)}
73
         </Form.Item>
73
         </Form.Item>
74
-      )}
74
+      )} */}
75
       <Form.Item label="选择封面" help="建议图片尺寸750px*600px,比例5:4,格式:jpg">
75
       <Form.Item label="选择封面" help="建议图片尺寸750px*600px,比例5:4,格式:jpg">
76
         {getFieldDecorator('coverImg', {
76
         {getFieldDecorator('coverImg', {
77
           rules: [{ required: true, message: '请上传封面图片' }],
77
           rules: [{ required: true, message: '请上传封面图片' }],