From 0931cf2721c5af352ae892ac415c2abfc7166172 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期四, 15 六月 2023 10:35:35 +0800 Subject: [PATCH] 修改了nodejs升级后编译错误 --- ruoyi-ui/package.json | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index d3fbe25..c1cd574 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -1,12 +1,12 @@ { "name": "ruoyi", "version": "3.8.5", - "description": "鑻ヤ緷绠$悊绯荤粺", - "author": "鑻ヤ緷", + "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" @@ -53,6 +53,7 @@ "screenfull": "5.0.2", "sortablejs": "1.10.2", "vue": "2.6.12", + "vue-cli": "^2.9.6", "vue-count-to": "1.0.13", "vue-cropper": "0.5.5", "vue-meta": "2.4.0", -- Gitblit v1.9.3