diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..5929a05 --- /dev/null +++ b/.env.production @@ -0,0 +1,15 @@ +# 页面标题 +VITE_APP_TITLE = AIx数字平台 + +# 生产环境配置 +VITE_APP_ENV = 'production' + +# AIx融合数字管理系统/生产环境 +VITE_APP_BASE_API = 'http://192.168.2.52:7863' + +# 是否在打包时开启压缩,支持 gzip 和 brotli +VITE_BUILD_COMPRESS = gzip + +VITE_APP_RES_FILE_PATH = 'https://prev.ysaix.com:7868/src/assets/textbook/booktxt/' + +VITE_APP_BUILD_BASE_PATH = 'https://prev.ysaix.com:7868/' \ No newline at end of file diff --git a/electron-builder.yml b/electron-builder.yml index 5c1d02b..52741c5 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -1,5 +1,5 @@ appId: com.electron.app -productName: electron-app +productName: AIx directories: buildResources: build files: @@ -11,7 +11,7 @@ files: asarUnpack: - resources/** win: - executableName: electron-app + executableName: AIx nsis: oneClick: false allowToChangeInstallationDirectory: true diff --git a/src/renderer/src/components/move-file/index.vue b/src/renderer/src/components/move-file/index.vue index 71c7837..79926df 100644 --- a/src/renderer/src/components/move-file/index.vue +++ b/src/renderer/src/components/move-file/index.vue @@ -54,7 +54,7 @@