From 682a74e858e5a6cd24d36183931d3afafd6443d7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 31 三月 2021 10:56:48 +0800 Subject: [PATCH] 2021-03-31 --- src/tabviews/zshare/mutilform/index.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx index bd8f48f..fff93ba 100644 --- a/src/tabviews/zshare/mutilform/index.jsx +++ b/src/tabviews/zshare/mutilform/index.jsx @@ -232,7 +232,7 @@ formlist }, () => { if (action.setting && action.setting.focus) { - this.selectInput(action.setting.focus, 'init') + this.selectInput(action.setting.focus) } // 鐢ㄦ潵鏇存柊state锛岄槻姝㈠彈鎺ц〃鍗曞垵濮嬫椂涓嶆樉绀� this.setState({ @@ -242,7 +242,7 @@ }) } - selectInput = (selectId, type) => { + selectInput = (selectId) => { try { let _form = document.getElementById('main-form-box') let _inputs = _form.getElementsByTagName('input') @@ -250,7 +250,7 @@ _inputs.forEach(input => { if (!input || input.id !== selectId) return - if (input.className === 'ant-select-search__field' && type !== 'init') { + if (input.className === 'ant-select-search__field') { let div = input.parentNode while (div && div.parentNode) { div = div.parentNode @@ -711,7 +711,7 @@ if (item.type === 'split') { fields.push( <Col span={24} key={index}> - <p>{item.label}</p> + <p className="mk-form-split-line">{item.label}</p> </Col> ) } else if (item.type === 'hint') { -- Gitblit v1.8.0