Quellcode durchsuchen

数据源页面联动修改

ZhangYanJie vor 4 Monaten
Ursprung
Commit
8c6f9baabb
1 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  1. 1 3
      src/pages/internalEvaluation/configuration/datasources.tsx

+ 1 - 3
src/pages/internalEvaluation/configuration/datasources.tsx

@@ -417,13 +417,11 @@ const datasources: React.FC<widowRush> = (prop: widowRush) => {
       {detailVisible && (
         <SDModalForm
           onValuesChange={(a,b) => {
-            console.log(a.dataSourcesType);
             if (a.dataSourcesType === "JDBC"){
               setTypeStatus(1);
             }else if (a.dataSourcesType === "INTERFACE"){
               setTypeStatus(2);
-            }else if (a.dataSourcesType === undefined){
-              // TODO  待修改
+            }else if (b.dataSourcesType === undefined){
               setTypeStatus(0);
             }
           }}