From 5986161f39c2e46921e1b84ff505c5af84e5fa9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=95=B8=E9=9D=9E?= <13281114856@qq.com>
Date: Thu, 16 Feb 2023 13:55:56 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9D=90=E6=96=99=E6=95=B0?=
 =?UTF-8?q?=E9=87=8F=E7=BB=9F=E8=AE=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 sample-form-manager/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/sample-form-manager/pom.xml b/sample-form-manager/pom.xml
index 18e4639..41fe9bb 100644
--- a/sample-form-manager/pom.xml
+++ b/sample-form-manager/pom.xml
@@ -324,6 +324,22 @@
                             <workingDirectory>${project.parent.basedir}/sample-form-manager-ui/admin</workingDirectory>
                         </configuration>
                     </execution>
+
+                    <execution>
+                        <id>exec-npm-run-build</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>exec</goal>
+                        </goals>
+                        <configuration>
+                            <executable>yarn</executable>
+                            <arguments>
+                                <argument>run</argument>
+                                <arguments>${package.environment}</arguments>
+                            </arguments>
+                            <workingDirectory>${project.parent.basedir}/sample-form-manager-ui/admin</workingDirectory>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
 
-- 
2.24.3