From 3728c728f6106b14e2149bcc7f45de437460c71f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 27 十二月 2024 21:27:25 +0800
Subject: [PATCH] Merge branch 'positec' into dms

---
 src/components/normalform/modalform/index.jsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/components/normalform/modalform/index.jsx b/src/components/normalform/modalform/index.jsx
index 0ab789f..6c7d9f3 100644
--- a/src/components/normalform/modalform/index.jsx
+++ b/src/components/normalform/modalform/index.jsx
@@ -255,7 +255,7 @@
                 if (_vals.length === new Set(_vals).size) {
                   m.hidden = true
                 }
-              } else if (!p.values.includes(_val)) {
+              } else if (p.values && !p.values.includes(_val)) {
                 m.hidden = true
               }
             })

--
Gitblit v1.8.0