mirror of
https://github.com/dataease/dataease.git
synced 2026-05-24 06:18:10 +08:00
fix: 仪表板样式优化,修复仪表板公共颜色不显示问题
This commit is contained in:
@@ -148,7 +148,7 @@ export function checkViewTitle(opt, id, tile) {
|
||||
const curPanelViewsData = store.state.componentViewsData
|
||||
const curComponentViewNames = []
|
||||
store.state.componentData.forEach(item => {
|
||||
if (item.type === 'view' && item.propValue && item.propValue.viewId) {
|
||||
if (item.type === 'view' && item.propValue && item.propValue.viewId && curPanelViewsData[item.propValue.viewId]) {
|
||||
// 更新时自己的title不加入比较
|
||||
if ((opt === 'update' && id !== item.propValue.viewId) || opt === 'new') {
|
||||
curComponentViewNames.push(curPanelViewsData[item.propValue.viewId].title)
|
||||
|
||||
Reference in New Issue
Block a user