Jelajahi Sumber

更换前端项目名称

zx 5 bulan lalu
induk
melakukan
03c7173d4c
4 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 1 1
      .env.development
  2. 1 1
      .env.production
  3. 3 3
      package.json
  4. 1 1
      vue.config.js

+ 1 - 1
.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 配网应用管理平台
+VUE_APP_TITLE = 配网安全精益管理辅助应用
 
 # 开发环境配置
 ENV = 'development'

+ 1 - 1
.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 配网应用管理平台
+VUE_APP_TITLE = 配网安全精益管理辅助应用
 
 # 生产环境配置
 ENV = 'production'

+ 3 - 3
package.json

@@ -1,12 +1,12 @@
 {
   "name": "ruoyi",
   "version": "3.8.6",
-  "description": "配网应用管理平台",
+  "description": "配网安全精益管理辅助应用",
   "author": "若依",
   "license": "MIT",
   "scripts": {
-    "dev": "vue-cli-service serve",
-    "build:prod": "vue-cli-service build",
+    "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
+    "build:prod": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
     "build:stage": "vue-cli-service build --mode staging",
     "preview": "node build/index.js --preview",
     "lint": "eslint --ext .js,.vue src"

+ 1 - 1
vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
 
 const CompressionPlugin = require("compression-webpack-plugin");
 
-const name = process.env.VUE_APP_TITLE || "配网应用管理平台"; // 网页标题
+const name = process.env.VUE_APP_TITLE || "配网安全精益管理辅助应用"; // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 80; // 端口