diff --git a/frontend/src/components/canvas/components/Editor/Grid.vue b/frontend/src/components/canvas/components/Editor/Grid.vue index b36818f34d..7946e63b19 100644 --- a/frontend/src/components/canvas/components/Editor/Grid.vue +++ b/frontend/src/components/canvas/components/Editor/Grid.vue @@ -1,20 +1,20 @@ + + + + diff --git a/frontend/src/views/panel/SubjectSetting/index.vue b/frontend/src/views/panel/SubjectSetting/index.vue index 50eed2e0c1..8708476ed8 100644 --- a/frontend/src/views/panel/SubjectSetting/index.vue +++ b/frontend/src/views/panel/SubjectSetting/index.vue @@ -17,6 +17,7 @@ + @@ -70,9 +71,11 @@ import { mapState } from 'vuex' import { deepCopy } from '@/components/canvas/utils/utils' import bus from '@/utils/bus' import PanelViewResult from '@/views/panel/SubjectSetting/PanelStyle/PanelViewResult' +import PanelAidedDesign from '@/views/panel/SubjectSetting/PanelStyle/PanelAidedDesign' export default { components: { + PanelAidedDesign, PanelViewResult, slider, BackgroundSelector, diff --git a/frontend/src/views/panel/panel.js b/frontend/src/views/panel/panel.js index a4cd756577..760c0d8bda 100644 --- a/frontend/src/views/panel/panel.js +++ b/frontend/src/views/panel/panel.js @@ -23,7 +23,13 @@ export const CANVAS_STYLE = { panel: DEFAULT_PANEL_STYLE, refreshViewLoading: true, // 仪表板视图loading提示 refreshUnit: 'minute', // 仪表板刷新时间带外 默认 分钟 - refreshTime: 5 // 仪表板刷新时间 默认5分钟 + refreshTime: 5, // 仪表板刷新时间 默认5分钟 + aidedDesign: AIDED_DESIGN // 辅助设计 +} + +export const AIDED_DESIGN = { + showGrid: false, + matrixBase: 1 // 当前matrix的基数 (是pcMatrixCount的几倍) } export const DEFAULT_COMMON_CANVAS_STYLE_STRING = {