#
luxiaotao1123
2024-03-08 a554a78015cb8bd0b9f1e65a4ac478b42f73f5f9
#
2个文件已修改
39 ■■■■ 已修改文件
zy-asrs-flow/src/locales/en-US/map.ts 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/components/settings.jsx 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/locales/en-US/map.ts
@@ -8,4 +8,16 @@
    '': '',
    '': '',
    '': '',
    '': '',
    '': '',
    '': '',
    '': '',
    'map.settings.type': 'Type',
    'map.settings.position': 'Position',
    'map.settings.scale': 'Scale',
    'map.settings.rotation': 'Rotation',
    '': '',
    '': '',
    '': '',
    '': '',
}
zy-asrs-flow/src/pages/map/components/settings.jsx
@@ -45,7 +45,6 @@
    }
    const handleFinish = async (values) => {
        console.log(values); return
        props.onSubmit({ ...values });
    }
@@ -98,19 +97,6 @@
    const onFinishFailed = (errorInfo) => {
    };
    const prefixSelector = (
        <Form.Item name="prefix" noStyle>
            <Select
                style={{
                    width: 70,
                }}
            >
                <Option value="86">+86</Option>
                <Option value="87">+87</Option>
            </Select>
        </Form.Item>
    );
    return (
        <>
            <Drawer
@@ -152,14 +138,19 @@
                        {/*  */}
                        <Col span={24}>
                            <Form.Item label="type" labelCol={{ span: 2 }}>
                            <Form.Item
                                label={intl.formatMessage({ id: 'map.settings.type', defaultMessage: '类型' })}
                                labelCol={{ span: 2 }}
                            >
                                <span className="ant-form-text">China</span>
                            </Form.Item>
                        </Col>
                        {/* position */}
                        <Col span={24}>
                            <Form.Item label="position">
                            <Form.Item
                                label={intl.formatMessage({ id: 'map.settings.position', defaultMessage: '坐标' })}
                            >
                                <Space.Compact>
                                    <Form.Item
                                        name='x'
@@ -202,7 +193,7 @@
                            <Row gutter={24}>
                                <Col span={18}>
                                    <Form.Item
                                        label="scale"
                                        label={intl.formatMessage({ id: 'map.settings.scale', defaultMessage: '缩放' })}
                                        name="scaleSlider"
                                        labelCol={{ span: 4 }}
                                    >
@@ -242,7 +233,7 @@
                            <Row gutter={24}>
                                <Col span={18}>
                                    <Form.Item
                                        label="rotation"
                                        label={intl.formatMessage({ id: 'map.settings.rotation', defaultMessage: '角度' })}
                                        name="rotationSlider"
                                        labelCol={{ span: 4 }}
                                    >