flyzto 1 月之前
父節點
當前提交
4c55b0389a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/models/Control.js

+ 1 - 1
server/models/Control.js

@@ -164,7 +164,7 @@ const releaseWeb = () => {
   GLOBAL_DATA.buildLock = true;
   const webRootPath = path.resolve(__rootPath, 'web');
   return new Promise((resolve, reject) => {
-    exec('npm run build', { cwd: webRootPath }, (error, stdout, stderr) => {
+    exec('pnpm run build:antd', { cwd: webRootPath }, (error, stdout, stderr) => {
       GLOBAL_DATA.buildLock = false;
       if (error) {
         reject(new Error(stderr) || error);