Explorar el Código

fix:修复启动报错

lsw hace 9 meses
padre
commit
128999fc85
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      admin-ui/package.json

+ 2 - 2
admin-ui/package.json

@@ -5,8 +5,8 @@
   "author": "若依",
   "author": "若依",
   "license": "MIT",
   "license": "MIT",
   "scripts": {
   "scripts": {
-    "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
-    "build:prod": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
+    "dev": "vue-cli-service serve",
+    "build:prod": "vue-cli-service build",
     "build:stage": "vue-cli-service build --mode staging",
     "build:stage": "vue-cli-service build --mode staging",
     "preview": "node build/index.js --preview",
     "preview": "node build/index.js --preview",
     "lint": "eslint --ext .js,.vue src"
     "lint": "eslint --ext .js,.vue src"