Skip to content

Commit 002149b

Browse files
committed
refactor: tab content
1 parent dc42cf7 commit 002149b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

frontend/src/views/dashboard/canvas/CanvasCore.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ defineExpose({
12321232
<component
12331233
:is="findComponent(item.component)"
12341234
:ref="'shape_component_' + item.id"
1235-
class="sq-component slot-component dragHandle"
1235+
class="sq-component slot-component"
12361236
:class="{ 'sq-component-hidden': item.component !== 'SQTab' }"
12371237
:config-item="item"
12381238
:view-info="canvasViewInfo[item.id]"

frontend/src/views/dashboard/canvas/ComponentBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const doDeleteComponent = (e: MouseEvent) => {
8080
right: 12px;
8181
top: 12px;
8282
display: flex;
83-
z-index: 1;
83+
z-index: 11;
8484
cursor: pointer !important;
8585
}
8686

frontend/src/views/dashboard/components/sq-tab/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ defineExpose({
237237
:component-data="tabItem.componentData"
238238
:canvas-view-info="canvasViewInfo"
239239
:base-matrix-count="tabBaseMatrixCount"
240+
:canvas-id="tabItem.name"
240241
></SQPreview>
241242
<DashboardEditor
242243
v-else

0 commit comments

Comments
 (0)