This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git


The following commit(s) were added to refs/heads/next by this push:
     new 6caf093  feat: added required field
6caf093 is described below

commit 6caf093472858d42afa0a4bff3b8a6c83695ca0e
Author: juzhiyuan <[email protected]>
AuthorDate: Mon Jun 15 17:31:40 2020 +0800

    feat: added required field
---
 src/pages/ssl/components/Step1/index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/pages/ssl/components/Step1/index.tsx 
b/src/pages/ssl/components/Step1/index.tsx
index f73aa40..a450f22 100644
--- a/src/pages/ssl/components/Step1/index.tsx
+++ b/src/pages/ssl/components/Step1/index.tsx
@@ -53,7 +53,7 @@ const Step: React.FC<StepProps> = ({ onStepChange, 
onFormChange, data }) => {
   };
   return (
     <>
-      <Form.Item label="方式">
+      <Form.Item label="方式" required>
         <Select
           placeholder="请选择创建方式"
           defaultValue="Input"
@@ -61,6 +61,7 @@ const Step: React.FC<StepProps> = ({ onStepChange, 
onFormChange, data }) => {
             onFormChange({}, true);
             setCreateType(value);
           }}
+          style={{ width: 100 }}
         >
           <Select.Option value="Input">手动输入</Select.Option>
           <Select.Option value="Upload">上传证书</Select.Option>

Reply via email to