From 306eb5f035302baef95995437e2dc735110b6536 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 23 二月 2023 17:38:37 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/zshare/topSearch/index.jsx |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/zshare/topSearch/index.jsx b/src/tabviews/zshare/topSearch/index.jsx
index 85fbb90..8f1b7d4 100644
--- a/src/tabviews/zshare/topSearch/index.jsx
+++ b/src/tabviews/zshare/topSearch/index.jsx
@@ -77,6 +77,7 @@
         _setting.labelwidth = config.wrap.searchLwidth !== undefined ? config.wrap.searchLwidth : 33.3
         _setting.labelCol = {style: {width: _setting.labelwidth + '%'}}
         _setting.wrapperCol = {style: {width: (100 - _setting.labelwidth) + '%'}}
+        _setting.borderRadius = config.wrap.borderRadius
       }
       _setting.style = null
       
@@ -552,6 +553,11 @@
     })
 
     if (setting.show || setting.showAdv) {
+      let style = {}
+      if (setting.borderRadius) {
+        style.borderRadius = setting.borderRadius
+      }
+
       fields.push(
         <Col span={setting.ratio} style={{ whiteSpace: 'nowrap' }} className="mk-search-col search-button" key="actions">
           <Form.Item
@@ -560,10 +566,10 @@
             labelCol={setting.labelCol}
             wrapperCol={setting.wrapperCol}
           >
-            {setting.show ? <Button type="primary" onClick={this.handleSubmit}>
+            {setting.show ? <Button style={style} type="primary" onClick={this.handleSubmit}>
               鎼滅储
             </Button> : null}
-            {setting.show ? <Button style={{ marginLeft: 8 }} onClick={this.handleReset}>
+            {setting.show ? <Button style={{ marginLeft: 8, ...style }} onClick={this.handleReset}>
               閲嶇疆
             </Button> : null}
             {setting.showAdv ? <Button className={visible ? 'visible' : ''} type="link" onClick={this.handleAdvance}>

--
Gitblit v1.8.0