diff --git a/bin/clean.bat b/bin/clean.bat index 8127769d..8cf42931 100644 --- a/bin/clean.bat +++ b/bin/clean.bat @@ -1,4 +1,6 @@ @echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 echo. echo [信息] 清理生成路径。 echo. diff --git a/bin/run-auth.bat b/bin/run-auth.bat index c91717d1..a4986547 100644 --- a/bin/run-auth.bat +++ b/bin/run-auth.bat @@ -1,4 +1,6 @@ @echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 echo. echo [信息] 运行auth工程。 echo. diff --git a/bin/run-gateway.bat b/bin/run-gateway.bat index 1543ad93..47838b49 100644 --- a/bin/run-gateway.bat +++ b/bin/run-gateway.bat @@ -1,7 +1,11 @@ @echo off -echo. -echo [信息] 运行gateway工程。 -echo. +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 + +echo '... ...' +echo 'start module [gateway]' +echo '[信息] 运行gateway工程。' +echo '... ...' cd %~dp0 cd ../ruoyi-gateway/target diff --git a/bin/run-modules-file.bat b/bin/run-modules-file.bat index 344b8380..bae4501c 100644 --- a/bin/run-modules-file.bat +++ b/bin/run-modules-file.bat @@ -1,4 +1,6 @@ @echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 echo. echo [信息] 运行modules-file工程。 echo. diff --git a/bin/run-modules-gen.bat b/bin/run-modules-gen.bat index 28389efb..bcfcb3d0 100644 --- a/bin/run-modules-gen.bat +++ b/bin/run-modules-gen.bat @@ -1,4 +1,6 @@ @echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 echo. echo [信息] 运行modules-gen工程。 echo. diff --git a/bin/run-modules-job.bat b/bin/run-modules-job.bat index 14da7847..9e59ea93 100644 --- a/bin/run-modules-job.bat +++ b/bin/run-modules-job.bat @@ -1,4 +1,6 @@ @echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 echo. echo [信息] 运行modules-job工程。 echo. diff --git a/bin/run-modules-system.bat b/bin/run-modules-system.bat index 2f6d9087..83ee5d03 100644 --- a/bin/run-modules-system.bat +++ b/bin/run-modules-system.bat @@ -1,4 +1,6 @@ @echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 echo. echo [信息] 运行modules-system工程。 echo. diff --git a/bin/run-monitor.bat b/bin/run-monitor.bat index 498480d4..48ec0e3e 100644 --- a/bin/run-monitor.bat +++ b/bin/run-monitor.bat @@ -1,4 +1,6 @@ @echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 echo. echo [信息] 运行monitor工程。 echo. diff --git a/ruoyi-ui/bin/build.bat b/ruoyi-ui/bin/build.bat index 16b14073..1c579904 100644 --- a/ruoyi-ui/bin/build.bat +++ b/ruoyi-ui/bin/build.bat @@ -1,4 +1,6 @@ @echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 echo. echo [信息] 打包Web工程,生成dist文件。 echo. diff --git a/ruoyi-ui/bin/package.bat b/ruoyi-ui/bin/package.bat index 1ddb6b23..748e2443 100644 --- a/ruoyi-ui/bin/package.bat +++ b/ruoyi-ui/bin/package.bat @@ -1,12 +1,14 @@ -@echo off -echo. -echo [信息] 安装Web工程,生成node_modules文件。 -echo. - -%~d0 -cd %~dp0 - -cd .. -npm install --registry=https://registry.npm.taobao.org - -pause \ No newline at end of file +@echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 +echo. +echo [信息] 安装Web工程,生成node_modules文件。 +echo. + +%~d0 +cd %~dp0 + +cd .. +npm install --registry=https://registry.npm.taobao.org + +pause diff --git a/ruoyi-ui/bin/run-web.bat b/ruoyi-ui/bin/run-web.bat index 8f919b3e..f1c0839e 100644 --- a/ruoyi-ui/bin/run-web.bat +++ b/ruoyi-ui/bin/run-web.bat @@ -1,12 +1,14 @@ -@echo off -echo. -echo [信息] 使用 Vue 运行 Web 工程。 -echo. - -%~d0 -cd %~dp0 - -cd .. -npm run dev - -pause \ No newline at end of file +@echo off +@REM 后续命令使用的是:UTF-8编码 +chcp 65001 +echo. +echo [信息] 使用 Vue 运行 Web 工程。 +echo. + +%~d0 +cd %~dp0 + +cd .. +npm run dev + +pause