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: {