fix 只有一列的时候默认版面为表格模式
This commit is contained in:
parent
d16b846d4e
commit
75c83e4117
2
resources/assets/js/store/actions.js
vendored
2
resources/assets/js/store/actions.js
vendored
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user