You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/06/01 14:36:37 UTC

[incubator-apisix-dashboard] branch next updated (d85fb48 -> a7b13fe)

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

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


    from d85fb48  feat: added disabled for Step2
     new 997a0f2  fix step
     new a7b13fe  codes clean

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/pages/Routes/Create.tsx | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)


[incubator-apisix-dashboard] 01/02: fix step

Posted by ju...@apache.org.
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

commit 997a0f2cf3b54c11911d2e29bbd99f5176db92f2
Author: juzhiyuan <jj...@gmail.com>
AuthorDate: Mon Jun 1 22:34:40 2020 +0800

    fix step
---
 src/pages/Routes/Create.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pages/Routes/Create.tsx b/src/pages/Routes/Create.tsx
index ac46cfe..e1f1853 100644
--- a/src/pages/Routes/Create.tsx
+++ b/src/pages/Routes/Create.tsx
@@ -52,11 +52,11 @@ const Create: React.FC = () => {
       );
     }
 
-    if (step === 3) {
+    if (step === 2) {
       return <CreateStep3 data={data} onChange={setStep3Data} />;
     }
 
-    if (step === 4) {
+    if (step === 3) {
       return <CreateStep4 data={data} onChange={() => {}} />;
     }
 


[incubator-apisix-dashboard] 02/02: codes clean

Posted by ju...@apache.org.
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

commit a7b13fe685d7e376713c91e2fa971f186a5b8977
Author: juzhiyuan <jj...@gmail.com>
AuthorDate: Mon Jun 1 22:35:55 2020 +0800

    codes clean
---
 src/pages/Routes/Create.tsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/pages/Routes/Create.tsx b/src/pages/Routes/Create.tsx
index e1f1853..e17c242 100644
--- a/src/pages/Routes/Create.tsx
+++ b/src/pages/Routes/Create.tsx
@@ -1,4 +1,4 @@
-import React, { useState, useEffect } from 'react';
+import React, { useState } from 'react';
 import { Card, Steps } from 'antd';
 import { PageHeaderWrapper } from '@ant-design/pro-layout';
 
@@ -26,10 +26,6 @@ const Create: React.FC = () => {
     step3Data,
   };
 
-  useEffect(() => {
-    console.log('step1Data2', step1Data);
-  }, [step1Data]);
-
   const renderStep = () => {
     if (step === 0) {
       return (