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/components/keyInterface/index.jsx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/keyInterface/index.jsx b/src/components/keyInterface/index.jsx
index 517b091..11a459d 100644
--- a/src/components/keyInterface/index.jsx
+++ b/src/components/keyInterface/index.jsx
@@ -57,7 +57,7 @@
       }
     }
 
-    this.setState({visible: true, setting: _setting || {}})
+    this.setState({visible: true, setting: _setting || {ssoInterface: 'http://sso.mk9h.cn/cloud/webapi/dostars'}})
   }
 
   decrypt = (token, value) => {
@@ -193,7 +193,7 @@
             <Form>
               <Form.Item label="鎺ュ彛鍦板潃">
                 {getFieldDecorator('interface', {
-                  initialValue: setting.interface,
+                  initialValue: setting.interface || 'http://******/webapi/dostars',
                   rules: [
                     {
                       required: true,
@@ -204,7 +204,7 @@
                       message: '鍙彲浣跨敤鑻辨枃銆佹暟瀛椾互鍙�:_./'
                     }
                   ]
-                })(<TextArea rows={2}/>)}
+                })(<TextArea placeholder="http://******/webapi/dostars" rows={2}/>)}
               </Form.Item>
               <Form.Item label="sso鍦板潃">
                 {getFieldDecorator('ssoInterface', {
@@ -215,7 +215,7 @@
                       message: '鍙彲浣跨敤鑻辨枃銆佹暟瀛椾互鍙�:_./'
                     }
                   ]
-                })(<TextArea rows={2}/>)}
+                })(<TextArea placeholder="http://sso.mk9h.cn/cloud/webapi/dostars" rows={2}/>)}
               </Form.Item>
               <Form.Item label="appkey">
                 {getFieldDecorator('appkey', {

--
Gitblit v1.8.0