From 2ec78835e454cecb95e48a2be2cb0b8393674ec5 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 31 三月 2026 10:27:16 +0800
Subject: [PATCH] fix(Sys_Dictionary): 修复数字字典中文映射

---
 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