Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix error when deployed to nginx after compilation (#8767)

Devosend 3 years ago
parent
commit
1d1c99b31f
2 changed files with 153 additions and 0 deletions
  1. 4 0
      dolphinscheduler-ui-next/index.html
  2. 149 0
      dolphinscheduler-ui-next/public/lodash.min.js

+ 4 - 0
dolphinscheduler-ui-next/index.html

@@ -21,6 +21,10 @@
   <head>
     <meta charset="UTF-8" />
     <link rel="icon" href="/favicon.ico" />
+    <!-- @antv/layout compiled lodash package exception,
+    * temporarily solve the problem through script.
+    -->
+    <script src="/lodash.min.js"></script>
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>Dolphin Scheduler Admin</title>
   </head>

File diff suppressed because it is too large
+ 149 - 0
dolphinscheduler-ui-next/public/lodash.min.js