From 75c83e4117430df1fc11919af29bab03d9e69341 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Wed, 22 Dec 2021 20:28:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8F=AA=E6=9C=89=E4=B8=80=E5=88=97?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E9=BB=98=E8=AE=A4=E7=89=88=E9=9D=A2?= =?UTF-8?q?=E4=B8=BA=E8=A1=A8=E6=A0=BC=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/store/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/store/actions.js b/resources/assets/js/store/actions.js index 64347792..7c168898 100644 --- a/resources/assets/js/store/actions.js +++ b/resources/assets/js/store/actions.js @@ -765,7 +765,7 @@ export default { // 判断只有1列的时候默认版面为表格模式 if (state.columns.filter(item => item.project_id == project_id).length === 1) { const cache = state.cacheTablePanel.find(item => item.project_id == project_id) || {}; - if (typeof cache.cardInit === "undefined") { + if (typeof cache.cardInit === "undefined" || cache.cardInit === false) { dispatch("toggleTablePanel", { project_id, key: {