From 9d35f49d791fa26dbbffdfc9c911b50542beb1ad Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期四, 05 六月 2025 13:35:09 +0800
Subject: [PATCH] fix: 修改 Keycloak 服务器地址的端口号

---
 eims-ui-mobile/src/pages/scan/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/eims-ui-mobile/src/pages/scan/index.vue b/eims-ui-mobile/src/pages/scan/index.vue
index 82d4d73..0d2ee20 100644
--- a/eims-ui-mobile/src/pages/scan/index.vue
+++ b/eims-ui-mobile/src/pages/scan/index.vue
@@ -101,7 +101,9 @@
 function initData(assetNo: any) {
   getEquByAssetNo(assetNo)
     .then((res: any) => {
-      if (res.data) {
+      console.error(res)
+      if (res?.equId) {
+        exist.value = true
         Object.assign(model, res)
       } else {
         toast.error('鏈煡璇㈠埌璇ヨ祫浜х紪鍙风浉鍏虫暟鎹紒')

--
Gitblit v1.9.3