From d01295c254063b3349a86a4474e04a62b284bd19 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 24 三月 2026 16:26:07 +0800
Subject: [PATCH] 一些配置

---
 Code/WMS/WIDESEA_WMSClient/src/views/system/UserInfo.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSClient/src/views/system/UserInfo.vue b/Code/WMS/WIDESEA_WMSClient/src/views/system/UserInfo.vue
index aeeaf2e..b4e34c4 100644
--- a/Code/WMS/WIDESEA_WMSClient/src/views/system/UserInfo.vue
+++ b/Code/WMS/WIDESEA_WMSClient/src/views/system/UserInfo.vue
@@ -55,6 +55,12 @@
 <script>
 import VolForm from "@/components/basic/VolForm.vue";
 import VolBox from "@/components/basic/VolBox.vue";
+
+const userInfoErrorImg = new URL(
+  "../../assets/imgs/error-img.png",
+  import.meta.url
+).href;
+
 export default {
   components: {
     VolForm,
@@ -119,7 +125,7 @@
   },
   data() {
     return {
-      errorImg: 'this.src="' + require("@/assets/imgs/error-img.png") + '"',
+      errorImg: `this.src="${userInfoErrorImg}"`,
       modifyOptions: {
         model: false,
         fields: { oldPwd: "", newPwd: "", newPwd1: "" },

--
Gitblit v1.9.3