From af02b8f3c3ec9e5684be1084904d673429421d2b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 03 九月 2020 16:40:47 +0800
Subject: [PATCH] 2020-09-03

---
 src/menu/datasourcecomponent/verifycard/index.jsx |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/src/menu/datasourcecomponent/verifycard/index.jsx b/src/menu/datasourcecomponent/verifycard/index.jsx
index a4491da..e1995c4 100644
--- a/src/menu/datasourcecomponent/verifycard/index.jsx
+++ b/src/menu/datasourcecomponent/verifycard/index.jsx
@@ -78,15 +78,15 @@
       {
         title: 'SQL',
         dataIndex: 'sql',
-        width: '60%',
+        width: '65%',
         render: (text) => (
-          <Paragraph copyable ellipsis={{ rows: 5, expandable: true }}>{text}</Paragraph>
+          <Paragraph copyable ellipsis={{ rows: 4, expandable: true }}>{text}</Paragraph>
         )
       },
       {
         title: '鐘舵��',
         dataIndex: 'status',
-        width: '20%',
+        width: '15%',
         render: (text, record) => record.status === 'false' ?
           (
             <div>
@@ -335,16 +335,6 @@
         activeKey: val,
         loading: false
       })
-      // this.sqlverify(() => { // 楠岃瘉鎴愬姛
-      //   this.setState({
-      //     activeKey: val,
-      //     loading: false
-      //   })
-      // }, () => {             // 楠岃瘉澶辫触
-      //   this.setState({
-      //     loading: false
-      //   })
-      // }, true)
     } else if (activeKey === 'scripts') {
       let _loading = false
       if (this.scriptsForm && this.scriptsForm.state.editItem) {
@@ -491,6 +481,7 @@
             <SettingForm
               menuId={this.props.menuId}
               dict={this.props.dict}
+              config={this.props.config}
               permFuncField={this.props.permFuncField}
               columns={columns}
               setting={setting}

--
Gitblit v1.8.0