2 Commits b8b4b021e5 ... b1c526383c

Author SHA1 Message Date
  leo b1c526383c Merge branch 'yili' of http://gogsb.soaringnova.com/ylproj/jupyterlab into yili 1 year ago
  leo 18e89d7a04 fix: sql换行 1 year ago
2 changed files with 1 additions and 1 deletions
  1. 0 0
      dagtest2.dag
  2. 1 1
      packages/yili-dag/src/utils.ts

File diff suppressed because it is too large
+ 0 - 0
dagtest2.dag


+ 1 - 1
packages/yili-dag/src/utils.ts

@@ -120,7 +120,7 @@ const getScriptEdgesAndNodes = (graph: any) => {
             inputs: generateInputs(graph, item.id),
             inputs: generateInputs(graph, item.id),
             script:
             script:
               item.data.label === 'sql'
               item.data.label === 'sql'
-                ? item.data.scriptText.replace(/\r?\n|\r/g, '')
+                ? item.data.scriptText.replace(/\r?\n|\r/g, ' ')
                 : item.data.scriptText
                 : item.data.scriptText
           });
           });
           break;
           break;

Some files were not shown because too many files changed in this diff