From 4614a540b53edbd83a0a9a483414cfdec0f5d321 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 02 四月 2020 14:52:58 +0800 Subject: [PATCH] 2020-04-02 --- src/templates/comtableconfig/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx index 6a898c4..d8a4434 100644 --- a/src/templates/comtableconfig/index.jsx +++ b/src/templates/comtableconfig/index.jsx @@ -867,7 +867,7 @@ editModalCancel = () => { const { config, card, modaltype } = this.state - if (card.focus) { + if (card && card.focus) { let _config = null if (modaltype === 'search') { let _search = config.search.filter(item => item.uuid !== card.uuid) -- Gitblit v1.8.0