From ef8acbf3859bd13e759fbb9b8ba726039c1fb2c5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 14 十一月 2023 15:51:59 +0800
Subject: [PATCH] 2023-11-14

---
 src/tabviews/zshare/mutilform/mkNumberInput/index.jsx |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/mkNumberInput/index.jsx b/src/tabviews/zshare/mutilform/mkNumberInput/index.jsx
index c517566..9e80af9 100644
--- a/src/tabviews/zshare/mutilform/mkNumberInput/index.jsx
+++ b/src/tabviews/zshare/mutilform/mkNumberInput/index.jsx
@@ -44,15 +44,6 @@
     } else if (type === 'input') {
       this.setState({value})
       this.props.onChange(value, true)
-    } else if (type === 'reset') {
-      let _val = this.props.config.initval
-
-      this.setState({value: _val}, () => {
-        let node = document.getElementById(this.props.config.uuid)
-        node && node.select()
-      })
-
-      this.props.onChange(_val)
     }
   }
 
@@ -80,7 +71,7 @@
       MKEmitter.emit('mkFC', 'focus', config.tabUuid)
     } else {
       MKEmitter.emit('mkFC', 'focus', config.tabUuid)
-      this.props.onSubmit()
+      this.props.onSubmit(config.tabUuid)
     }
   }
 

--
Gitblit v1.8.0