|  |  | 
 |  |  |     'map.settings.name': 'Name', | 
 |  |  |     'map.settings.position': 'Position', | 
 |  |  |     'map.settings.scale': 'Scale', | 
 |  |  |     'map.settings.scale.x': 'ScaleX', | 
 |  |  |     'map.settings.scale.y': 'ScaleY', | 
 |  |  |     'map.settings.rotation': 'Rotation', | 
 |  |  |     'map.settings.copy': 'Copy', | 
 |  |  |     'map.settings.left': 'Left', | 
 
 |  |  | 
 |  |  |             form.setFieldsValue({ | 
 |  |  |                 x: curSprite.position.x, | 
 |  |  |                 y: curSprite.position.y, | 
 |  |  |                 scale: Math.max(curSprite.scale.x, curSprite.scale.y), | 
 |  |  |                 scaleSlider: Math.max(curSprite.scale.x, curSprite.scale.y), | 
 |  |  |                 scaleX: curSprite.scale.x, | 
 |  |  |                 scaleSliderX: curSprite.scale.x, | 
 |  |  |                 scaleY: curSprite.scale.y, | 
 |  |  |                 scaleSliderY: curSprite.scale.y, | 
 |  |  |                 rotation: curSprite.rotation * 180 / Math.PI, | 
 |  |  |                 rotationSlider: curSprite.rotation * 180 / Math.PI, | 
 |  |  |  | 
 |  |  | 
 |  |  |                         case 'y': | 
 |  |  |                             curSprite.position.y = value; | 
 |  |  |                             break; | 
 |  |  |                         case 'scaleSlider': | 
 |  |  |                         case 'scaleSliderX': | 
 |  |  |                             form.setFieldsValue({ | 
 |  |  |                                 scale: value | 
 |  |  |                                 scaleX: value | 
 |  |  |                             }) | 
 |  |  |                             curSprite.scale.set(value); | 
 |  |  |                             curSprite.scale.x = value; | 
 |  |  |                             break; | 
 |  |  |                         case 'scale': | 
 |  |  |                         case 'scaleX': | 
 |  |  |                             form.setFieldsValue({ | 
 |  |  |                                 scaleSlider: value | 
 |  |  |                                 scaleSliderX: value | 
 |  |  |                             }) | 
 |  |  |                             curSprite.scale.set(value); | 
 |  |  |                             curSprite.scale.x = value; | 
 |  |  |                             break; | 
 |  |  |                         case 'scaleSliderY': | 
 |  |  |                             form.setFieldsValue({ | 
 |  |  |                                 scaleY: value | 
 |  |  |                             }) | 
 |  |  |                             curSprite.scale.y = value; | 
 |  |  |                             break; | 
 |  |  |                         case 'scaleY': | 
 |  |  |                             form.setFieldsValue({ | 
 |  |  |                                 scaleSliderY: value | 
 |  |  |                             }) | 
 |  |  |                             curSprite.scale.y = value; | 
 |  |  |                             break; | 
 |  |  |                         case 'rotationSlider': | 
 |  |  |                             form.setFieldsValue({ | 
 |  |  | 
 |  |  |                         </Form.Item> | 
 |  |  |                     </Col> | 
 |  |  |  | 
 |  |  |                     {/* scale */} | 
 |  |  |                     {/* scale x */} | 
 |  |  |                     <Col span={18}> | 
 |  |  |                         <Form.Item | 
 |  |  |                             name="scaleSlider" | 
 |  |  |                             label={intl.formatMessage({ id: 'map.settings.scale', defaultMessage: '缩放' })} | 
 |  |  |                             name="scaleSliderX" | 
 |  |  |                             label={intl.formatMessage({ id: 'map.settings.scale.x', defaultMessage: '缩放-x' })} | 
 |  |  |                             labelCol={{ span: 5 }} | 
 |  |  |                         > | 
 |  |  |                             <Slider | 
 |  |  | 
 |  |  |                     </Col> | 
 |  |  |                     <Col span={6}> | 
 |  |  |                         <Form.Item | 
 |  |  |                             name="scale" | 
 |  |  |                             name="scaleX" | 
 |  |  |                         > | 
 |  |  |                             <InputNumber | 
 |  |  |                                 min={0.1} max={10} step={0.1} | 
 |  |  |                                 rules={[ | 
 |  |  |                                     { | 
 |  |  |                                         required: true, | 
 |  |  |                                     }, | 
 |  |  |                                 ]} | 
 |  |  |                             /> | 
 |  |  |                         </Form.Item> | 
 |  |  |                     </Col> | 
 |  |  |  | 
 |  |  |                     {/* scale */} | 
 |  |  |                     <Col span={18}> | 
 |  |  |                         <Form.Item | 
 |  |  |                             name="scaleSliderY" | 
 |  |  |                             label={intl.formatMessage({ id: 'map.settings.scale.y', defaultMessage: '缩放-y' })} | 
 |  |  |                             labelCol={{ span: 5 }} | 
 |  |  |                         > | 
 |  |  |                             <Slider | 
 |  |  |                                 min={0.1} | 
 |  |  |                                 max={10} | 
 |  |  |                                 step={0.1} | 
 |  |  |                                 marks={{ | 
 |  |  |                                     0.1: '0.1', | 
 |  |  |                                     1: '1', | 
 |  |  |                                     10: '10', | 
 |  |  |                                 }} | 
 |  |  |                                 style={{ | 
 |  |  |                                     width: '100%' | 
 |  |  |                                 }} | 
 |  |  |                             /> | 
 |  |  |                         </Form.Item> | 
 |  |  |                     </Col> | 
 |  |  |                     <Col span={6}> | 
 |  |  |                         <Form.Item | 
 |  |  |                             name="scaleY" | 
 |  |  |                         > | 
 |  |  |                             <InputNumber | 
 |  |  |                                 min={0.1} max={10} step={0.1} |