From 6afb82b92c7de7a3d5551e721b4c8de39bd7de9d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 30 十二月 2022 13:25:28 +0800
Subject: [PATCH] 2022-12-30

---
 src/tabviews/custom/components/module/voucher/voucherTable/index.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/module/voucher/voucherTable/index.jsx b/src/tabviews/custom/components/module/voucher/voucherTable/index.jsx
index c7d0383..2bcbd81 100644
--- a/src/tabviews/custom/components/module/voucher/voucherTable/index.jsx
+++ b/src/tabviews/custom/components/module/voucher/voucherTable/index.jsx
@@ -146,9 +146,10 @@
             filterOption={(input, option) => option.props.children.indexOf(input) > -1}
             onSelect={this.complete}
             defaultValue={val}
+            onChange={(val) => this.onChange(val)}
             defaultOpen={true}
           >
-            <Input.TextArea id={col.uuid + record.uuid} autoSize={false} defaultValue={val} onChange={(e) => this.onChange(e.target.value)} onPressEnter={this.enterPress} onBlur={this.onBlur}/>
+            <Input.TextArea id={col.uuid + record.uuid} autoSize={false} defaultValue={val} onPressEnter={this.enterPress} onBlur={this.onBlur}/>
           </AutoComplete>
         } else {
           children = <div className="content-wrap" onClick={this.focus}>{val}</div>

--
Gitblit v1.8.0