From 77ac6b72ed82d51d0d45bf156ac1b5bb3cb15782 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期二, 19 三月 2024 14:01:43 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/map/components/mapSettings.jsx | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/components/mapSettings.jsx b/zy-asrs-flow/src/pages/map/components/mapSettings.jsx
index d38b787..ba5b05f 100644
--- a/zy-asrs-flow/src/pages/map/components/mapSettings.jsx
+++ b/zy-asrs-flow/src/pages/map/components/mapSettings.jsx
@@ -128,8 +128,6 @@
<Form
form={form}
onFieldsChange={formValuesChange}
- initialValues={{
- }}
onFinish={handleFinish}
onFinishFailed={onFinishFailed}
autoComplete="off"
@@ -146,6 +144,10 @@
}}
wrapperCol={{
span: 20,
+ }}
+ initialValues={{
+ scale: 1,
+ rotation: 1
}}
>
<Row gutter={[24, 16]}>
@@ -228,8 +230,7 @@
name="scale"
>
<InputNumber
- changeOnWheel
- min={0.1} max={10} defaultValue={1} step={0.1}
+ min={0.1} max={10} step={0.1}
rules={[
{
required: true,
@@ -268,8 +269,7 @@
name="rotation"
>
<InputNumber
- changeOnWheel
- min={0} max={360} defaultValue={0}
+ min={0} max={360}
rules={[
{
required: true,
--
Gitblit v1.9.1