From a422596c0f38efb21705edb749180b9f04ff349e Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期二, 18 二月 2025 09:37:23 +0800
Subject: [PATCH] 解决设备和产品结构树文档编辑信息弹窗打开时的报错信息

---
 src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue b/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
index a8fe89d..3c6083b 100644
--- a/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
+++ b/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
@@ -167,6 +167,7 @@
       },
 
       handleDocumentEdit(record, modalTitle) {
+        if (!this.$refs.modalForm) return
         this.$refs.modalForm.edit(record)
         this.$refs.modalForm.title = modalTitle
       },

--
Gitblit v1.9.3