From 69cb03958c63bf26b3b4de60dc054e914850e06d Mon Sep 17 00:00:00 2001 From: lijun Date: Sun, 14 Sep 2025 13:34:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=96=B0=E5=A2=9E=E6=9C=BA?= =?UTF-8?q?=E6=9E=84=E4=BB=A3=E7=A0=81=E3=80=81=E6=9C=BA=E6=9E=84=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7=E3=80=81=E6=9D=A5=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/store/modules/user.js | 6 +++--- src/views/excelreport/index.vue | 9 ++++++++- src/views/reportManage/index.vue | 16 +++++++++++++++- 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3ed2c34..fcba693 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build": "cross-env NODE_ENV=production node build/build.js", "build:dev": "cross-env NODE_ENV=development node build/build.js", "build:test": "cross-env NODE_ENV=testing node build/build.js", - "build:prod": "cross-env NODE_ENV=production node build/build.js" + "build:prod": "cross-env NODE_OPTIONS=--openssl-legacy-provider cross-env NODE_ENV=production node build/build.js" }, "dependencies": { "@ckeditor/ckeditor5-build-decoupled-document": "^23.1.0", diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 066dee9..7b63e4d 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -4,7 +4,7 @@ import {setToken, delToken, setAccessUser, delAccessUser, delShareToken} from '@ const user = { state: { token: '', // 登录后的token - accessUser: {} // 登录后的用户对象 + accessUser: {}, // 登录后的用户对象 }, mutations: { @@ -15,7 +15,7 @@ const user = { SET_ACCESSUSER: (state, accessUser) => { state.accessUser = accessUser setAccessUser(accessUser) - } + }, }, actions: { @@ -70,7 +70,7 @@ const user = { delAccessUser() resolve() }) - } + }, } } diff --git a/src/views/excelreport/index.vue b/src/views/excelreport/index.vue index 7c17767..571a65c 100644 --- a/src/views/excelreport/index.vue +++ b/src/views/excelreport/index.vue @@ -110,6 +110,7 @@