File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
frontend/src/views/dashboard Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -1191,9 +1191,11 @@ defineExpose({
11911191 <component
11921192 :is =" findComponent(item.component)"
11931193 :ref =" 'shape_component_' + item.id"
1194- class =" sql-component slot-component dragHandle"
1194+ class =" sq-component slot-component dragHandle"
1195+ :class =" { 'sq-component-hidden': item.component !== 'SQTab' }"
11951196 :config-item =" item"
11961197 :view-info =" canvasViewInfo[item.id]"
1198+ :canvas-view-info =" canvasViewInfo"
11971199 @parent-add-item-box =" (subItem: any) => addItemBox(subItem)"
11981200 >
11991201 </component >
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ function createNewObject() {}
169169
170170// @ts-expect-error eslint-disable-next-line @typescript-eslint/ban-ts-comment
171171const resourceEdit = (resourceId ) => {
172- window .open (` #/canvas?resourceId=${resourceId } ` , ' _blank ' )
172+ window .open (` #/canvas?resourceId=${resourceId } ` , ' _self ' )
173173}
174174
175175// @ts-expect-error eslint-disable-next-line @typescript-eslint/ban-ts-comment
Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ defineExpose({
220220 :ref =" 'tabEditorRef_' + index"
221221 class =" tab-dashboard-editor-main"
222222 :canvas-component-data =" tabItem.componentData"
223+ :canvas-view-info =" canvasViewInfo"
223224 :move-in-active =" configItem.moveInActive"
224225 :base-matrix-count =" tabBaseMatrixCount"
225226 :canvas-id =" tabItem.name"
Original file line number Diff line number Diff line change 3333 z-index : 2 ;
3434 }
3535
36- .sql -component {
36+ .sq -component {
3737 width : 100% ;
3838 height : 100% ;
39+ }
40+
41+ .sq-component-hidden {
3942 overflow : hidden ;
4043 }
4144 }
You can’t perform that action at this time.
0 commit comments