From ca788834ea15d6dd43bf0923757ca1d46d00ebc4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 12 七月 2021 23:17:26 +0800 Subject: [PATCH] 2021-07-12 --- src/menu/popview/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/menu/popview/index.jsx b/src/menu/popview/index.jsx index 0abb17e..a80ddd5 100644 --- a/src/menu/popview/index.jsx +++ b/src/menu/popview/index.jsx @@ -246,7 +246,7 @@ buttons.push(`select '${btn.uuid}' as menuid, '${item.name + '-' + btn.label}' as menuname, '${_sort * 10}' as Sort`) _sort++ }) - item.subcards.forEach(card => { + item.subcards && item.subcards.forEach(card => { card.elements && card.elements.forEach(cell => { if (cell.eleType !== 'button') return this.checkBtn(cell) -- Gitblit v1.8.0